Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
ea217f8
1
Parent(s):
52f31c6
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from queue import Queue
|
|
9 |
from threading import Thread
|
10 |
|
11 |
queue = Queue()
|
12 |
-
queue_threshold =
|
13 |
|
14 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
15 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
@@ -151,5 +151,5 @@ with gr.Blocks() as myface:
|
|
151 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
152 |
|
153 |
myface.launch(enable_queue=True, inline=True)
|
154 |
-
myface.queue(concurrency_count=
|
155 |
reset_queue_thread.join()
|
|
|
9 |
from threading import Thread
|
10 |
|
11 |
queue = Queue()
|
12 |
+
queue_threshold = 9
|
13 |
|
14 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
15 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
|
|
151 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
152 |
|
153 |
myface.launch(enable_queue=True, inline=True)
|
154 |
+
myface.queue(concurrency_count=9)
|
155 |
reset_queue_thread.join()
|