Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
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()
|