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...
abidlabs
HF Staff
commited on
May 5, 2023
Commit
3ef4122
·
1 Parent(s):
cad6454
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -5,4 +5,4 @@ def test(x):
5
time.sleep(5)
6
return x
7
8
-
gr.Interface(
lambda x:x
, "textbox", "textbox").queue(max_size=2).launch()
5
time.sleep(5)
6
return x
7
8
+
gr.Interface(
test
, "textbox", "textbox").queue(max_size=2).launch()