Spaces:
Runtime error
Runtime error
Commit
·
211b63f
1
Parent(s):
fe3cf53
Fix inputs
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ def build_demo():
|
|
| 137 |
upload_button = gr.UploadButton(
|
| 138 |
"Click to Upload & Submit Answers", file_types=["*"], file_count="single"
|
| 139 |
)
|
| 140 |
-
upload_button.upload(upload_file, upload_button,
|
| 141 |
|
| 142 |
return demo
|
| 143 |
|
|
|
|
| 137 |
upload_button = gr.UploadButton(
|
| 138 |
"Click to Upload & Submit Answers", file_types=["*"], file_count="single"
|
| 139 |
)
|
| 140 |
+
upload_button.upload(upload_file, inputs=[upload_button, model_name_textbox, submitter_username, model_link_web], outputs= file_output)
|
| 141 |
|
| 142 |
return demo
|
| 143 |
|