Skip to content

Commit c34458c

Browse files
authored
Update gradio-client.mdx
1 parent 1e6a195 commit c34458c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

units/en/unit2/gradio-client.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,14 @@ smolagents[mcp]
166166
4. Push your code to the Space:
167167
```bash
168168
git init
169-
git add server.py requirements.txt
169+
git add app.py requirements.txt
170170
git commit -m "Initial commit"
171171
git remote add origin https://huggingface.co/spaces/YOUR_USERNAME/mcp-client
172172
git push -u origin main
173173
```
174174

175+
Note: While adding remote origin, Refer to [password-git-deprecation](https://huggingface.co/blog/password-git-deprecation) for adding with AccessToken.
176+
175177
## Conclusion
176178

177179
In this section, we've explored how to use Gradio as an MCP Client to connect to an MCP Server. We've also seen how to deploy the MCP Client in Hugging Face Spaces.

0 commit comments

Comments
 (0)