Spaces:
Running
Running
Update app.py
Browse files
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(
|
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")],
|