Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -63,11 +63,10 @@ with gr.Blocks() as block:
|
|
63 |
height=1000
|
64 |
)
|
65 |
refresh_button = gr.Button("Refresh")
|
66 |
-
search_bar.change(fn=update_table, inputs=[search_bar,
|
67 |
-
|
|
|
68 |
refresh_button.click(fn=refresh_data, outputs=data_component)
|
69 |
-
# search_bar.change(fn=update_table, inputs=[search_bar], outputs=data_component)
|
70 |
-
# refresh_button.click(fn=refresh_data, outputs=data_component)
|
71 |
|
72 |
# table 2
|
73 |
with gr.TabItem("📝 About", elem_id="qa-tab-table2", id=2):
|
|
|
63 |
height=1000
|
64 |
)
|
65 |
refresh_button = gr.Button("Refresh")
|
66 |
+
search_bar.change(fn=update_table, inputs=[search_bar, min_size_slider, max_size_slider], outputs=data_component)
|
67 |
+
min_size_slider.change(fn=update_table, inputs=[search_bar, min_size_slider, max_size_slider], outputs=data_component)
|
68 |
+
max_size_slider.change(fn=update_table, inputs=[search_bar, min_size_slider, max_size_slider], outputs=data_component)
|
69 |
refresh_button.click(fn=refresh_data, outputs=data_component)
|
|
|
|
|
70 |
|
71 |
# table 2
|
72 |
with gr.TabItem("📝 About", elem_id="qa-tab-table2", id=2):
|