Spaces:
Sleeping
Sleeping
Gianpaolo Macario
commited on
Commit
Β·
0cd3c2c
1
Parent(s):
9f1bac0
feat(mcp_server): use default theme
Browse files- mcp_server.py +3 -1
mcp_server.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
import json
|
8 |
from fastmcp import FastMCP
|
9 |
from huggingface_hub import HfApi, model_info, ModelCard, ModelCardData
|
10 |
-
from huggingface_hub.
|
11 |
from dotenv import load_dotenv
|
12 |
|
13 |
load_dotenv()
|
@@ -123,6 +123,8 @@ This PR adds the `{new_tag}` tag to the model repository.
|
|
123 |
|
124 |
**Current tags:** {", ".join(current_tags) if current_tags else "None"}
|
125 |
**New tags:** {", ".join(updated_tags)}
|
|
|
|
|
126 |
"""
|
127 |
|
128 |
print(f"π Creating PR with title: {pr_title}")
|
|
|
7 |
import json
|
8 |
from fastmcp import FastMCP
|
9 |
from huggingface_hub import HfApi, model_info, ModelCard, ModelCardData
|
10 |
+
from huggingface_hub.errors import HfHubHTTPError
|
11 |
from dotenv import load_dotenv
|
12 |
|
13 |
load_dotenv()
|
|
|
123 |
|
124 |
**Current tags:** {", ".join(current_tags) if current_tags else "None"}
|
125 |
**New tags:** {", ".join(updated_tags)}
|
126 |
+
|
127 |
+
π€ This is a pull request created by the Hugging Face Hub Tagging Bot.
|
128 |
"""
|
129 |
|
130 |
print(f"π Creating PR with title: {pr_title}")
|