Spaces:
Runtime error
Runtime error
Commit
·
11e2786
1
Parent(s):
dc4f764
Update with h2oGPT hash 630e15db72ffd1544b236ab9c2ab466c6ae82292
Browse files- 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",
|