Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,6 @@ def plex(prompt,negative_prompt,stips,uno):
|
|
17 |
apol.append(igs)
|
18 |
return apol
|
19 |
|
20 |
-
iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="prompt"),gr.Textbox(label="negative prompt", value="low quality, bad quality"), gr.Slider(label="inference_steps",minimum=1,step=1,maximum=10,value=
|
21 |
-
iface.queue(max_size=1)
|
22 |
iface.launch(max_threads=1)
|
|
|
17 |
apol.append(igs)
|
18 |
return apol
|
19 |
|
20 |
+
iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="prompt"),gr.Textbox(label="negative prompt", value="low quality, bad quality"), gr.Slider(label="inference_steps",minimum=1,step=1,maximum=10,value=10),gr.Slider(label="prior_guidance_scale",minimum=0.1,step=0.1,maximum=1.0,value=0.5)],outputs=gr.Gallery(columns=2), title="Txt2Img_KndskyV22_Cmbnd by JoPmt", description="Running on CPU, very slow!")
|
21 |
+
iface.queue(max_size=1,api_open=False)
|
22 |
iface.launch(max_threads=1)
|