Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Still return tab without query params
Browse files
app.py
CHANGED
|
@@ -401,6 +401,8 @@ def search_table(df, query):
|
|
| 401 |
def change_tab(query_param):
|
| 402 |
if query_param == "{'tab': 'evaluation'}":
|
| 403 |
return gr.Tabs.update(selected=1)
|
|
|
|
|
|
|
| 404 |
|
| 405 |
custom_css = """
|
| 406 |
#changelog-text {
|
|
|
|
| 401 |
def change_tab(query_param):
|
| 402 |
if query_param == "{'tab': 'evaluation'}":
|
| 403 |
return gr.Tabs.update(selected=1)
|
| 404 |
+
else:
|
| 405 |
+
return gr.Tabs.update(selected=0)
|
| 406 |
|
| 407 |
custom_css = """
|
| 408 |
#changelog-text {
|