Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated fromΒ
Nuno-Tome/API_demo_client
NeuralNewsForge
/
API_demo_client
like
2
Sleeping
App
Files
Files
Community
34eb043
API_demo_client
/
app.py
Nuno-Tome
update
34eb043
10 months ago
raw
Copy download link
history
blame
189 Bytes
from
gradio_client
import
Client
client = Client(
"Nuno-Tome/API_demo_server"
)
result = client.predict(
"Hello!!"
,
# str in 'text' Textbox component
api_name=
"/predict"
)
print
(result)