MrDrmm commited on
Commit
548d3dd
·
verified ·
1 Parent(s): 8390c39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -131,9 +131,6 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
131
  .then(translate_to_en, [neg_prompt], [neg_prompt], queue=False, show_api=False)
132
 
133
 
134
- #demo.queue(default_concurrency_limit=240, max_size=240)
135
- demo.launch(max_threads=400, ssr_mode=True)
136
- # https://github.com/gradio-app/gradio/issues/6339
137
  import gradio as gr
138
  from random import randint
139
  from all_models import models
@@ -365,6 +362,9 @@ body {
365
 
366
  with gr.Blocks(css=custom_css) as demo:
367
  make_me()
 
 
 
368
 
369
  demo.queue(concurrency_count=50)
370
  demo.launch()
 
131
  .then(translate_to_en, [neg_prompt], [neg_prompt], queue=False, show_api=False)
132
 
133
 
 
 
 
134
  import gradio as gr
135
  from random import randint
136
  from all_models import models
 
362
 
363
  with gr.Blocks(css=custom_css) as demo:
364
  make_me()
365
+ #demo.queue(default_concurrency_limit=240, max_size=240)
366
+ demo.launch(max_threads=400, ssr_mode=True)
367
+ # https://github.com/gradio-app/gradio/issues/6339
368
 
369
  demo.queue(concurrency_count=50)
370
  demo.launch()