Spaces:
Sleeping
Sleeping
Download testClient.py from pgits/MCP-Public-Server: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/spaces/pgits/MCP-Public-Server/resolve/main/testClient.py
- Command line
-
hf download hf://spaces/pgits/MCP-Public-Server/testClient.py
-
curl -L -o testClient.py https://huggingface.co/spaces/pgits/MCP-Public-Server/resolve/main/testClient.py
157 Bytes
| from gradio_client import Client | |
| client = Client("http://127.0.0.1:7860/") | |
| result = client.predict( | |
| name="Hello!!", | |
| api_name="/predict" | |
| ) | |
| print(result) | |