Spaces:
Runtime error
Runtime error
fix upload file
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
|
|
45 |
|
46 |
# Upload file
|
47 |
file_output = gr.File()
|
48 |
-
upload_button = gr.UploadButton("Click to Upload a File",
|
49 |
gr.Dataframe(pd.DataFrame(file_output))
|
50 |
|
51 |
|
|
|
45 |
|
46 |
# Upload file
|
47 |
file_output = gr.File()
|
48 |
+
upload_button = gr.UploadButton("Click to Upload a File", outputs=[file_output])
|
49 |
gr.Dataframe(pd.DataFrame(file_output))
|
50 |
|
51 |
|