Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Nuno-Tome
/
API_demo_client
like
3
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
2c2797b
API_demo_client
/
app.py
Nuno-Tome
no message
2c2797b
over 1 year ago
raw
Copy download link
history
blame
200 Bytes
import
gradio
as
gr
from
gradio_client
import
Client
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"textbox"
, outputs=
"textbox"
)
demo.launch(share=
True
)