JoPmt commited on
Commit
86968fe
1 Parent(s): 1a99d03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,5 +29,5 @@ def plex(cook, one, two):
29
  return apol
30
 
31
  iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="prompt"), gr.Slider(label="Inference steps",minimum=1,step=1,maximum=10,value=5), gr.Slider(label="Prior guidance scale",minimum=4.1,step=0.1,maximum=19.9,value=4.1)],outputs=gr.Gallery(label="Generated Output Image",columns=2), title="Txt2Img Wrstchn SD", description="Very slow! Running on cpu. By JoPmt.")
32
- iface.queue(max_size=1)
33
  iface.launch(max_threads=1)
 
29
  return apol
30
 
31
  iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="prompt"), gr.Slider(label="Inference steps",minimum=1,step=1,maximum=10,value=5), gr.Slider(label="Prior guidance scale",minimum=4.1,step=0.1,maximum=19.9,value=4.1)],outputs=gr.Gallery(label="Generated Output Image",columns=2), title="Txt2Img Wrstchn SD", description="Very slow! Running on cpu. By JoPmt.")
32
+ iface.queue(max_size=1,api_open=False)
33
  iface.launch(max_threads=1)