Download test.py from Devmurari/document: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/spaces/Devmurari/document/resolve/main/test.py
- Command line
-
hf download hf://spaces/Devmurari/document/test.py
-
curl -L -o test.py https://huggingface.co/spaces/Devmurari/document/resolve/main/test.py
151 Bytes
| from gradio_client import Client | |
| client = Client("Devmurari/document") | |
| result = client.predict( | |
| "hello", | |
| api_name="/predict" | |
| ) | |
| print(result) |