JoPmt commited on
Commit
895f8e4
·
1 Parent(s): ce9e2da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,6 +14,6 @@ def plex(prompt,neg_prompt):
14
  image = pipe(prompt=prompt, negative_prompt=neg_prompt,num_inference_steps=10).images[0]
15
  return image
16
 
17
- iface = gr.Interface(fn=plex,inputs=[gr.Dropdown(gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality")],outputs=gr.Image(label="Generated Output Image"), title="Txt2Img_Overall_v1_SD",description="Running on cpu, very slow!")
18
  iface.queue(max_size=1,api_open=False)
19
  iface.launch(max_threads=1)
 
14
  image = pipe(prompt=prompt, negative_prompt=neg_prompt,num_inference_steps=10).images[0]
15
  return image
16
 
17
+ iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality")],outputs=gr.Image(label="Generated Output Image"), title="Txt2Img_Overall_v1_SD",description="Running on cpu, very slow!")
18
  iface.queue(max_size=1,api_open=False)
19
  iface.launch(max_threads=1)