cocktailpeanut commited on
Commit
0d8d18f
·
1 Parent(s): 97e7693
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -77,10 +77,12 @@ with gr.Blocks(css=css) as demo:
77
  with gr.Group():
78
  image_edit = gr.Image(label="Image you would like to edit", type="pil")
79
  with gr.Row():
80
- prompt_edit = gr.Textbox(label="Prompt", scale=4, placeholder="Edit instructions, e.g.: Make the day cloudy")
81
- size_edit = gr.Number(label="Size", value=1024, maximum=1024, minimum=512, precision=0)
82
- button_edit = gr.Button("Generate", min_width=120)
83
- output_edit = gr.Image(label="Your result image", interactive=False)
 
 
84
  with gr.Accordion("Advanced Settings", open=False):
85
  negative_prompt_edit = gr.Textbox(label="Negative Prompt")
86
  guidance_scale_edit = gr.Number(label="Guidance Scale", value=7)
 
77
  with gr.Group():
78
  image_edit = gr.Image(label="Image you would like to edit", type="pil")
79
  with gr.Row():
80
+ with gr.Column():
81
+ prompt_edit = gr.Textbox(label="Prompt", scale=4, placeholder="Edit instructions, e.g.: Make the day cloudy")
82
+ size_edit = gr.Number(label="Size", value=1024, maximum=1024, minimum=512, precision=0)
83
+ button_edit = gr.Button("Generate", min_width=120)
84
+ with gr.Column():
85
+ output_edit = gr.Image(label="Your result image", interactive=False)
86
  with gr.Accordion("Advanced Settings", open=False):
87
  negative_prompt_edit = gr.Textbox(label="Negative Prompt")
88
  guidance_scale_edit = gr.Number(label="Guidance Scale", value=7)