Spaces:
Running
Running
Tim Seufert
commited on
Commit
·
72373d0
1
Parent(s):
e5d5e74
update to file upload beta
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ with gr.Blocks() as demo:
|
|
62 |
#img = gr.Image(type="filepath")
|
63 |
clear = gr.ClearButton([msg, chatbot])
|
64 |
file_output = gr.File()
|
65 |
-
upload_button = gr.UploadButton("Click to Upload a File", file_types=["image", "video", "text"], file_count="multiple")
|
66 |
upload_button.upload(upload_file, upload_button, file_output)
|
67 |
|
68 |
|
|
|
62 |
#img = gr.Image(type="filepath")
|
63 |
clear = gr.ClearButton([msg, chatbot])
|
64 |
file_output = gr.File()
|
65 |
+
upload_button = gr.UploadButton("Click to Upload a File", file_types=["image", "video", "text", ".csv", ".doc"], file_count="multiple")
|
66 |
upload_button.upload(upload_file, upload_button, file_output)
|
67 |
|
68 |
|