Spaces:
Runtime error
Runtime error
Commit
·
dcbe2ed
1
Parent(s):
b305b8f
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,6 @@ import os
|
|
4 |
with gr.Blocks() as demo:
|
5 |
f = gr.File(file_count="multiple")
|
6 |
j = gr.JSON()
|
7 |
-
f.upload(lambda files:[
|
8 |
|
9 |
demo.launch()
|
|
|
4 |
with gr.Blocks() as demo:
|
5 |
f = gr.File(file_count="multiple")
|
6 |
j = gr.JSON()
|
7 |
+
f.upload(lambda files:[fo.name for fo in files], f, j)
|
8 |
|
9 |
demo.launch()
|