abidlabs HF Staff commited on
Commit
caa5ba9
·
1 Parent(s): 89b7985

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,3 +1,8 @@
1
  import gradio as gr
 
2
 
3
- gr.Interface(lambda x:x + "Hello", "textbox", "textbox").queue().launch()
 
 
 
 
 
1
  import gradio as gr
2
+ import time
3
 
4
+ def sleep(x):
5
+ time.sleep(6)
6
+ return x + ", hello"
7
+
8
+ gr.Interface(sleep, "textbox", "textbox").queue().launch()