Spaces:
Runtime error
Runtime error
Commit
•
3546565
1
Parent(s):
1f334e4
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,6 @@ def my_function(x, progress=gr.Progress()):
|
|
5 |
time.sleep(1)
|
6 |
for i in progress.tqdm(range(100)):
|
7 |
time.sleep(0.1)
|
8 |
-
return gr.Textbox(visible=False)
|
9 |
# gr.Interface(my_function, gr.Textbox(), gr.Textbox()).queue().launch()
|
10 |
-
gr.Interface(my_function, gr.Textbox(), [gr.
|
|
|
5 |
time.sleep(1)
|
6 |
for i in progress.tqdm(range(100)):
|
7 |
time.sleep(0.1)
|
8 |
+
return x, gr.Textbox(visible=False)
|
9 |
# gr.Interface(my_function, gr.Textbox(), gr.Textbox()).queue().launch()
|
10 |
+
gr.Interface(my_function, gr.Textbox(), [gr.HTML(), gr.Textbox()]).queue().launch()
|