Spaces:
Build error
Build error
Update run.py
Browse files
run.py
CHANGED
|
@@ -35,7 +35,7 @@ def upload_file(files):
|
|
| 35 |
|
| 36 |
with gr.Blocks() as demo:
|
| 37 |
file_output = gr.File()
|
| 38 |
-
upload_button = gr.UploadButton("Click to Upload an Image or Video File", file_types=["
|
| 39 |
upload_button.upload(upload_file, upload_button, file_output)
|
| 40 |
|
| 41 |
demo.launch()
|
|
|
|
| 35 |
|
| 36 |
with gr.Blocks() as demo:
|
| 37 |
file_output = gr.File()
|
| 38 |
+
upload_button = gr.UploadButton("Click to Upload an Image or Video File", file_types=[".csv"])
|
| 39 |
upload_button.upload(upload_file, upload_button, file_output)
|
| 40 |
|
| 41 |
demo.launch()
|