Spaces:
Runtime error
Runtime error
burtenshaw
commited on
Commit
·
df41d15
1
Parent(s):
945d671
format JSON blocks
Browse files
app.py
CHANGED
|
@@ -756,27 +756,32 @@ with gr.Blocks(
|
|
| 756 |
|
| 757 |
Connect to it like this:
|
| 758 |
|
| 759 |
-
```
|
| 760 |
-
{
|
| 761 |
-
|
| 762 |
-
|
|
|
|
|
|
|
|
|
|
| 763 |
}
|
| 764 |
-
}
|
| 765 |
}
|
| 766 |
```
|
| 767 |
|
| 768 |
Or like this for Claude Desktop:
|
| 769 |
|
| 770 |
-
```
|
| 771 |
-
{
|
| 772 |
-
"
|
| 773 |
-
"
|
| 774 |
-
|
| 775 |
-
|
| 776 |
-
|
| 777 |
-
|
| 778 |
-
|
| 779 |
-
|
|
|
|
|
|
|
|
|
|
| 780 |
}
|
| 781 |
```
|
| 782 |
|
|
|
|
| 756 |
|
| 757 |
Connect to it like this:
|
| 758 |
|
| 759 |
+
```javascript
|
| 760 |
+
{
|
| 761 |
+
"mcpServers": {
|
| 762 |
+
"autotrain": {
|
| 763 |
+
"url": "http://SPACE_URL/gradio_api/mcp/sse",
|
| 764 |
+
"headers": {"Authorization": "Bearer <YOUR-HUGGING-FACE-TOKEN>"}
|
| 765 |
+
}
|
| 766 |
}
|
|
|
|
| 767 |
}
|
| 768 |
```
|
| 769 |
|
| 770 |
Or like this for Claude Desktop:
|
| 771 |
|
| 772 |
+
```javascript
|
| 773 |
+
{
|
| 774 |
+
"mcpServers": {
|
| 775 |
+
"autotrain": {
|
| 776 |
+
"command": "npx",
|
| 777 |
+
"args": [
|
| 778 |
+
"mcp-remote",
|
| 779 |
+
"http://SPACE_URL/gradio_api/mcp/sse",
|
| 780 |
+
"--header",
|
| 781 |
+
"Authorization: Bearer <YOUR-HUGGING-FACE-TOKEN>"
|
| 782 |
+
]
|
| 783 |
+
}
|
| 784 |
+
}
|
| 785 |
}
|
| 786 |
```
|
| 787 |
|