JoPmt commited on
Commit
58389a7
·
verified ·
1 Parent(s): f043fe6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,6 +25,6 @@ def plex(prompt,neg_prompt,stips,nut):
25
  apol.append(imge)
26
  return apol
27
 
28
- iface = gr.Interface(fn=plex, inputs=[gr.Textbox(label="prompt"),gr.Textbox(label="negative prompt",value="worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch"), gr.Slider(label="num inference steps", minimum=1, step=1, maximum=10, value=8),gr.Slider(label="manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)], outputs=gr.Gallery(label="out", columns=1),description="Running on cpu, very slow! by JoPmt.")
29
  iface.queue(max_size=1,api_open=False)
30
  iface.launch(max_threads=1)
 
25
  apol.append(imge)
26
  return apol
27
 
28
+ iface = gr.Interface(fn=plex, inputs=[gr.Textbox(label="prompt"),gr.Textbox(label="negative prompt",value="worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch"), gr.Slider(label="num inference steps", minimum=1, step=1, maximum=10, value=5),gr.Slider(label="manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)], outputs=gr.Gallery(label="out", columns=1),description="Running on cpu, very slow! by JoPmt.")
29
  iface.queue(max_size=1,api_open=False)
30
  iface.launch(max_threads=1)