Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Renecto/Parent
Renecto
/
grandchild
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
341cb5d
grandchild
/
app.py
Renecto
Update app.py
341cb5d
verified
9 months ago
raw
Copy download link
history
blame
Safe
201 Bytes
import
gradio
as
gr
import
time
def
greet
(
name
):
time.sleep(
10
)
return
"limit 5 "
+ name +
"!!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
, concurrency_limit=
5
)
demo.launch()