gigant commited on
Commit
b21de2f
1 Parent(s): be783e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ iface = gr.Interface(fn=gen_ims,
157
  inputs=[#gr.inputs.Slider(minimum=1, maximum=1, step=1, default=1,label="Number of images"),
158
  #gr.inputs.Slider(minimum=0, maximum=200, step=1, label='Random seed', default=0),
159
  gr.Textbox(label="Text prompt"),
160
- gr.Image(optional=True, label="Image prompt", type='filepath'),
161
  #gr.inputs.Slider(minimum=10, maximum=35, step=1, default=15,label="Number of steps")
162
  ],
163
  outputs=[gr.Image(type="pil", label="Generated Image")],
 
157
  inputs=[#gr.inputs.Slider(minimum=1, maximum=1, step=1, default=1,label="Number of images"),
158
  #gr.inputs.Slider(minimum=0, maximum=200, step=1, label='Random seed', default=0),
159
  gr.Textbox(label="Text prompt"),
160
+ gr.Image(label="Image prompt", type='filepath'),
161
  #gr.inputs.Slider(minimum=10, maximum=35, step=1, default=15,label="Number of steps")
162
  ],
163
  outputs=[gr.Image(type="pil", label="Generated Image")],