Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,4 +63,11 @@ def my_function(x, progress=gr.Progress()):
|
|
| 63 |
for i in progress.tqdm(range(100)):
|
| 64 |
time.sleep(0.1)
|
| 65 |
return x
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
for i in progress.tqdm(range(100)):
|
| 64 |
time.sleep(0.1)
|
| 65 |
return x
|
| 66 |
+
|
| 67 |
+
demo = gr.Interface(
|
| 68 |
+
my_function,
|
| 69 |
+
gr.Textbox(),
|
| 70 |
+
gr.Textbox()
|
| 71 |
+
)
|
| 72 |
+
|
| 73 |
+
demo.queue().launch()
|