Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
cbensimon
/
gradio-4-queuing
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8f19e91
gradio-4-queuing
/
app.py
cbensimon
HF Staff
Update app.py
3b797c6
almost 2 years ago
raw
Copy download link
history
blame
Safe
180 Bytes
import
time
import
gradio
as
gr
def
greet
(
name
):
time.sleep(
5
)
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()