Adam Jirkovsky commited on
Commit
521925b
·
1 Parent(s): da364e4

Adjust upload GUI

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -329,7 +329,7 @@ with demo:
329
  )
330
  hf_model_id = gr.Textbox(label="Model link (Optional)", info="URL to the model's Hugging Face repository, or it's official website")
331
  contact_email = gr.Textbox(label="Your E-Mail")
332
- file_output = gr.File(file_count="single")
333
  upload_button = gr.UploadButton("Upload json", file_types=['.json'])
334
  upload_button.upload(validate_upload, upload_button, file_output)
335
 
 
329
  )
330
  hf_model_id = gr.Textbox(label="Model link (Optional)", info="URL to the model's Hugging Face repository, or it's official website")
331
  contact_email = gr.Textbox(label="Your E-Mail")
332
+ file_output = gr.File(file_count="single", interactive=True)
333
  upload_button = gr.UploadButton("Upload json", file_types=['.json'])
334
  upload_button.upload(validate_upload, upload_button, file_output)
335