Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,6 @@ def plex(prompt,neg_prompt,stips,scaly,nut):
|
|
28 |
apol.append(imze)
|
29 |
return apol
|
30 |
|
31 |
-
iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality"), gr.Slider(label="num inference steps",minimum=1,step=1,maximum=
|
32 |
iface.queue(max_size=1,api_open=False)
|
33 |
iface.launch(max_threads=1)
|
|
|
28 |
apol.append(imze)
|
29 |
return apol
|
30 |
|
31 |
+
iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality"), gr.Slider(label="num inference steps",minimum=1,step=1,maximum=30,value=25), gr.Slider(label="guidance_scale",minimum=1,step=1,maximum=10,value=7),gr.Slider(label="manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)],outputs=gr.Gallery(label="Generated Output Image", columns=1), title="Txt2Img_DrmDpShpr_v10_SD",description="Running on cpu, very slow!")
|
32 |
iface.queue(max_size=1,api_open=False)
|
33 |
iface.launch(max_threads=1)
|