Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
ad58334
1
Parent(s):
3f41bef
Update app_dialogue.py
Browse files- app_dialogue.py +2 -2
app_dialogue.py
CHANGED
@@ -1001,5 +1001,5 @@ with gr.Blocks(title="AI Meme Generator", theme=gr.themes.Base(), css=css) as de
|
|
1001 |
demo.load(
|
1002 |
fn=choose_gallery, inputs=[gallery_type_choice], outputs=[template_gallery], queue=False
|
1003 |
)
|
1004 |
-
demo.queue(concurrency_count=40, max_size=40
|
1005 |
-
demo.launch()
|
|
|
1001 |
demo.load(
|
1002 |
fn=choose_gallery, inputs=[gallery_type_choice], outputs=[template_gallery], queue=False
|
1003 |
)
|
1004 |
+
demo.queue(concurrency_count=40, max_size=40)
|
1005 |
+
demo.launch(max_threads=400)
|