Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
6bef007
1
Parent(s):
349ef82
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-diffusion-1.0")
|
@@ -159,5 +159,5 @@ with gr.Blocks() as myface:
|
|
159 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
160 |
|
161 |
myface.launch(enable_queue=True, inline=True)
|
162 |
-
myface.queue(concurrency_count=
|
163 |
reset_queue_thread.join()
|
|
|
9 |
from threading import Thread
|
10 |
|
11 |
queue = Queue()
|
12 |
+
queue_threshold = 8
|
13 |
|
14 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
15 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
|
|
159 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
160 |
|
161 |
myface.launch(enable_queue=True, inline=True)
|
162 |
+
myface.queue(concurrency_count=8)
|
163 |
reset_queue_thread.join()
|