pseudotensor commited on
Commit
2ce2260
1 Parent(s): 29ea64b

Update with h2oGPT hash 630e15db72ffd1544b236ab9c2ab466c6ae82292

Browse files
Files changed (1) hide show
  1. src/gradio_runner.py +1 -1
src/gradio_runner.py CHANGED
@@ -804,7 +804,7 @@ def go_gradio(**kwargs):
804
  container=True,
805
  )
806
  attach_button = gr.UploadButton(
807
- elem_id="attach-button",
808
  value="",
809
  label="Upload File(s)",
810
  size="sm",
 
804
  container=True,
805
  )
806
  attach_button = gr.UploadButton(
807
+ elem_id="attach-button" if visible_upload else None,
808
  value="",
809
  label="Upload File(s)",
810
  size="sm",