Update app.py
Browse files
app.py
CHANGED
|
@@ -36,10 +36,10 @@ def foo(dir):
|
|
| 36 |
|
| 37 |
# debug use
|
| 38 |
with gr.Blocks() as foo:
|
| 39 |
-
|
| 40 |
-
|
| 41 |
show = gr.Button(value="Show")
|
| 42 |
-
show.click(fn=foo, inputs=
|
| 43 |
|
| 44 |
|
| 45 |
|
|
|
|
| 36 |
|
| 37 |
# debug use
|
| 38 |
with gr.Blocks() as foo:
|
| 39 |
+
i = gr.File(file_count="directory")
|
| 40 |
+
o = gr.Textbox()
|
| 41 |
show = gr.Button(value="Show")
|
| 42 |
+
show.click(fn=foo, inputs=i, outputs=o)
|
| 43 |
|
| 44 |
|
| 45 |
|