Spaces:
Runtime error
Runtime error
Download app.py from pmirkovic/TheThirdVoice: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/spaces/pmirkovic/TheThirdVoice/resolve/main/app.py
- Command line
-
hf download hf://spaces/pmirkovic/TheThirdVoice/app.py
-
curl -L -o app.py https://huggingface.co/spaces/pmirkovic/TheThirdVoice/resolve/main/app.py
141 Bytes
| import requests | |
| url = "https://api-inference.huggingface.co/models/t5-small" | |
| print(requests.post(url, json={"inputs": "Hello world!"}).text) | |