Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
374c487
1
Parent(s):
5ee0899
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,6 @@ import string
|
|
7 |
import time
|
8 |
|
9 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
10 |
-
|
11 |
-
|
12 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
13 |
proc5=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
14 |
|
@@ -104,5 +102,5 @@ with gr.Blocks() as myface:
|
|
104 |
run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
|
105 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
106 |
|
107 |
-
myface.queue(concurrency_count=
|
108 |
myface.launch(enable_queue=True, inline=True)
|
|
|
7 |
import time
|
8 |
|
9 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
|
|
|
|
10 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
11 |
proc5=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
12 |
|
|
|
102 |
run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
|
103 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
104 |
|
105 |
+
myface.queue(concurrency_count=8)
|
106 |
myface.launch(enable_queue=True, inline=True)
|