hysts HF staff commited on
Commit
c21a3e5
·
1 Parent(s): 4353573
Files changed (1) hide show
  1. edit_app.py +2 -4
edit_app.py CHANGED
@@ -141,10 +141,8 @@ InstructPix2Pix: Learning to Follow Image Editing Instructions
141
  instruction = gr.Textbox(lines=1, label="Edit Instruction")
142
 
143
  with gr.Row():
144
- input_image = gr.Image(label="Input Image", type="pil")
145
- edited_image = gr.Image(label="Edited Image", type="pil")
146
- input_image.style(height=512, width=512)
147
- edited_image.style(height=512, width=512)
148
 
149
  with gr.Row():
150
  steps = gr.Number(value=50, precision=0, label="Steps")
 
141
  instruction = gr.Textbox(lines=1, label="Edit Instruction")
142
 
143
  with gr.Row():
144
+ input_image = gr.Image(label="Input Image", type="pil", height=512, width=512)
145
+ edited_image = gr.Image(label="Edited Image", type="pil", height=512, width=512)
 
 
146
 
147
  with gr.Row():
148
  steps = gr.Number(value=50, precision=0, label="Steps")