Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
abidlabs
/
max-size-queue-test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3ef4122
max-size-queue-test
/
app.py
abidlabs
HF Staff
Update app.py
3ef4122
about 2 years ago
raw
Copy download link
history
blame
145 Bytes
import
gradio
as
gr
import
time
def
test
(
x
):
time.sleep(
5
)
return
x
gr.Interface(test,
"textbox"
,
"textbox"
).queue(max_size=
2
).launch()