Skip to content

Commit 9da295f

Browse files
committed
Update README to highlight new Hugging Face MCP Server image generation samples
1 parent aa7fff3 commit 9da295f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

03-CoreGenerativeAITechniques/src/MCP-02-HuggingFace-Ollama/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
using OllamaSharp;
99

1010
// To run the sample, you need to set the following environment variables or user secrets:
11-
// "HF_API_KEY": " your HF token"
11+
// "HF_API_KEY": " your HF token"
12+
// "deploymentName" : "llama3.2" // Optional, defaults to "llama3.2" if not specified
1213

1314
var builder = Host.CreateApplicationBuilder(args);
1415
var config = builder.Configuration

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ Don't forget to [star (🌟) this repo](https://docs.github.com/en/get-started/e
3232

3333
We're constantly improving this course with the latest AI tools, models, and practical samples:
3434

35-
- **New: Hugging Face MCP Server Image Generation Samples!**
35+
- **🖼️ New! Hugging Face MCP Server Image Generation Samples!**
36+
3637
- Explore new C# console app samples that show how to use the Hugging Face MCP Server to generate images directly from your code.
37-
- Try the sample using GitHub Models or Azure AI Foundry: [`03-CoreGenerativeAITechniques/src/MCP-01-HuggingFace/Program.cs`](./03-CoreGenerativeAITechniques/src/MCP-01-HuggingFace/Program.cs)
38-
- Or use Ollama for local model inference: [`03-CoreGenerativeAITechniques/src/MCP-02-HuggingFace-Ollama/Program.cs`](./03-CoreGenerativeAITechniques/src/MCP-02-HuggingFace-Ollama/Program.cs)
39-
- These samples demonstrate how to integrate image generation into .NET console applications using modern AI model providers.
38+
- [Try the sample using GitHub Models or Azure AI Foundry](./03-CoreGenerativeAITechniques/src/MCP-01-HuggingFace/Program.cs)
39+
- [Use Ollama for local model inference](./03-CoreGenerativeAITechniques/src/MCP-02-HuggingFace-Ollama/Program.cs)
4040

4141
- **🕹️ New! Apps Generated with AI**
4242

0 commit comments

Comments
 (0)