Molbap HF Staff commited on
Commit
3eea8d8
·
verified ·
1 Parent(s): 5ff759b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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"])