Spaces:
Runtime error
Runtime error
Commit
·
4e8d946
1
Parent(s):
13ee1ce
correct gr block
Browse files
app.py
CHANGED
@@ -339,7 +339,7 @@ with gr.Blocks() as demo:
|
|
339 |
description= "v0.3: Powered by MECH Core Team",
|
340 |
)
|
341 |
upload_button = gr.UploadButton("Upload File", file_count="multiple")
|
342 |
-
upload_button.upload(func_upload_file, upload_button, main)
|
343 |
|
344 |
# demo = gr.Interface(
|
345 |
# chathmi,
|
|
|
339 |
description= "v0.3: Powered by MECH Core Team",
|
340 |
)
|
341 |
upload_button = gr.UploadButton("Upload File", file_count="multiple")
|
342 |
+
upload_button.upload(func_upload_file, upload_button, main.textbox)
|
343 |
|
344 |
# demo = gr.Interface(
|
345 |
# chathmi,
|