Spaces:
Running
on
Zero
Running
on
Zero
File size: 299 Bytes
69d1982 |
1 2 3 4 5 6 7 8 9 10 11 12 |
from gradio_client import Client # pip install gradio_client
# Change url to your client (localhost: http://127.0.0.1:7860/)
client = Client("https://huggingface.co/spaces/Riksarkivet/htr_demo")
job = client.submit(
"https://your.image.url.or.pah.jpg",
api_name="/predict",
)
print(job.result())
|