Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
·
3cba10d
1
Parent(s):
8031bf7
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,6 @@ with gr.Blocks() as demo:
|
|
8 |
f = gr.File(file_count="multiple")
|
9 |
j = gr.JSON()
|
10 |
btn = gr.Button(value="Upload")
|
11 |
-
btn.click(fn=process, f, j)
|
12 |
|
13 |
demo.launch()
|
|
|
8 |
f = gr.File(file_count="multiple")
|
9 |
j = gr.JSON()
|
10 |
btn = gr.Button(value="Upload")
|
11 |
+
btn.click(fn=process, inputs=[f], outputs=[j])
|
12 |
|
13 |
demo.launch()
|