abidlabs HF Staff commited on
Commit
cad6454
·
1 Parent(s): eb8e36d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import time
3
+
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()