Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -265,13 +265,13 @@ with demo:
|
|
| 265 |
inputs=[],
|
| 266 |
outputs=[table_html]
|
| 267 |
)
|
| 268 |
-
|
| 269 |
demo.load(fn=update_dropdown_choices, outputs=[country_filter, city_filter, language_filter])
|
| 270 |
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
|
|
|
| 275 |
|
| 276 |
submit_btn.click(
|
| 277 |
fn=submit_profile,
|
|
|
|
| 265 |
inputs=[],
|
| 266 |
outputs=[table_html]
|
| 267 |
)
|
|
|
|
| 268 |
demo.load(fn=update_dropdown_choices, outputs=[country_filter, city_filter, language_filter])
|
| 269 |
|
| 270 |
+
|
| 271 |
+
country_filter.change(fn=update_city_filter, inputs=[country_filter], outputs=[city_filter])
|
| 272 |
+
country_filter.change(fn=filter_by_fields, inputs=[country_filter, city_filter, language_filter], outputs=[table_html])
|
| 273 |
+
city_filter.change(fn=filter_by_fields, inputs=[country_filter, city_filter, language_filter], outputs=[table_html])
|
| 274 |
+
language_filter.change(fn=filter_by_fields, inputs=[country_filter, city_filter, language_filter], outputs=[table_html])
|
| 275 |
|
| 276 |
submit_btn.click(
|
| 277 |
fn=submit_profile,
|