Uthar commited on
Commit
b88d30a
·
verified ·
1 Parent(s): 9f8e032

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -156,6 +156,7 @@ css="""
156
 
157
 
158
  with gr.Blocks(fill_width=True, head=js, css=css) as demo:
 
159
  with gr.Tab(str(num_models) + ' Models'):
160
  with gr.Column(scale=2):
161
  with gr.Group():
@@ -247,6 +248,4 @@ with gr.Blocks(fill_width=True, head=js, css=css) as demo:
247
  concurrency_limit=None, queue=False)
248
  o.change(add_gallery, [o, model_choice2, gallery2], [gallery2])
249
 
250
- demo.load(start_event_loop)
251
-
252
  demo.launch(show_api=False, max_threads=400)
 
156
 
157
 
158
  with gr.Blocks(fill_width=True, head=js, css=css) as demo:
159
+ demo.load(start_event_loop)
160
  with gr.Tab(str(num_models) + ' Models'):
161
  with gr.Column(scale=2):
162
  with gr.Group():
 
248
  concurrency_limit=None, queue=False)
249
  o.change(add_gallery, [o, model_choice2, gallery2], [gallery2])
250
 
 
 
251
  demo.launch(show_api=False, max_threads=400)