seawolf2357 commited on
Commit
9a43807
·
verified ·
1 Parent(s): dcb4fbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -231,6 +231,8 @@ with gr.Blocks(css_paths="app.css") as demo:
231
 
232
  clear_btn.click(clear_history, inputs=[], outputs=[history])
233
 
234
-
235
  if __name__ == "__main__":
236
- demo.queue(default_concurrency_limit=20).launch(ssr_mode=False)
 
 
 
 
231
 
232
  clear_btn.click(clear_history, inputs=[], outputs=[history])
233
 
 
234
  if __name__ == "__main__":
235
+ demo = gr.Blocks(css_paths="app.css")
236
+ with demo:
237
+ app
238
+ demo.queue(default_concurrency_limit=20).launch(ssr_mode=False)