fffiloni commited on
Commit
0ef5dee
1 Parent(s): 40a5fd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -147,8 +147,7 @@ with gr.Blocks(css=css) as demo:
147
  type="pil",
148
  label="Input Image",
149
  sources=["upload"],
150
- width = 720,
151
- height = 720
152
  )
153
 
154
  prompt_input = gr.Textbox(label="Prompt (Optional)")
@@ -157,10 +156,11 @@ with gr.Blocks(css=css) as demo:
157
  target_ratio = gr.Radio(
158
  label = "Expected Ratio",
159
  choices = ["9:16", "16:9", "Custom"],
160
- value = "9:16"
 
161
  )
162
 
163
- run_button = gr.Button("Generate")
164
 
165
  with gr.Accordion(label="Advanced settings", open=False) as settings_panel:
166
  with gr.Column():
 
147
  type="pil",
148
  label="Input Image",
149
  sources=["upload"],
150
+ height = 300
 
151
  )
152
 
153
  prompt_input = gr.Textbox(label="Prompt (Optional)")
 
156
  target_ratio = gr.Radio(
157
  label = "Expected Ratio",
158
  choices = ["9:16", "16:9", "Custom"],
159
+ value = "9:16",
160
+ scale = 2
161
  )
162
 
163
+ run_button = gr.Button("Generate", scale=1)
164
 
165
  with gr.Accordion(label="Advanced settings", open=False) as settings_panel:
166
  with gr.Column():