Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1580,12 +1580,12 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="lime", secondary_hue="green"
|
|
1580 |
with gr.Accordion("Index Settings", open=False):
|
1581 |
#with gr.Row():
|
1582 |
|
1583 |
-
file_index1 = gr.Dropdown(
|
1584 |
-
label="3. Choose the index file (in case it wasn't automatically found.)",
|
1585 |
-
choices=get_indexes(),
|
1586 |
-
value=get_index(),
|
1587 |
-
interactive=True,
|
1588 |
-
)
|
1589 |
sid0.change(fn=match_index, inputs=[sid0],outputs=[file_index1])
|
1590 |
refresh_button.click(
|
1591 |
fn=change_choices, inputs=[], outputs=[sid0, file_index1]
|
|
|
1580 |
with gr.Accordion("Index Settings", open=False):
|
1581 |
#with gr.Row():
|
1582 |
|
1583 |
+
# file_index1 = gr.Dropdown(
|
1584 |
+
# label="3. Choose the index file (in case it wasn't automatically found.)",
|
1585 |
+
# choices=get_indexes(),
|
1586 |
+
# value=get_index(),
|
1587 |
+
# interactive=True,
|
1588 |
+
# )
|
1589 |
sid0.change(fn=match_index, inputs=[sid0],outputs=[file_index1])
|
1590 |
refresh_button.click(
|
1591 |
fn=change_choices, inputs=[], outputs=[sid0, file_index1]
|