Update app.py
Browse files
app.py
CHANGED
|
@@ -133,9 +133,8 @@ with gr.Blocks(css=CUSTOM_CSS) as demo:
|
|
| 133 |
if idx is not None:
|
| 134 |
return gr.Tabs.update(selected=idx)
|
| 135 |
return gr.Tabs.update()
|
| 136 |
-
|
| 137 |
-
demo.load(_select_tab_on_load, outputs=tabs)
|
| 138 |
|
| 139 |
if __name__ == "__main__":
|
| 140 |
-
demo.launch(allowed_paths=["static"])
|
| 141 |
demo.launch(allowed_paths=["static"])
|
|
|
|
| 133 |
if idx is not None:
|
| 134 |
return gr.Tabs.update(selected=idx)
|
| 135 |
return gr.Tabs.update()
|
| 136 |
+
|
| 137 |
+
demo.load(_select_tab_on_load, outputs=[tabs])
|
| 138 |
|
| 139 |
if __name__ == "__main__":
|
|
|
|
| 140 |
demo.launch(allowed_paths=["static"])
|