Ephemeral182 commited on
Commit
3664d7c
·
verified ·
1 Parent(s): a8e2692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -213,7 +213,7 @@ def create_interface():
213
  .preserve-aspect-ratio img {
214
  object-fit: contain !important;
215
  width: auto !important;
216
- max-height: 480px !important;
217
  }
218
  """
219
  ) as demo:
@@ -237,7 +237,7 @@ def create_interface():
237
 
238
  with gr.Column(scale=1):
239
  gr.Markdown("### 2. Results")
240
- image_output = gr.Image(label="Generated Image", type="pil", show_download_button=True, height=480, container=False, elem_classes=["preserve-aspect-ratio"])
241
  recapped_prompt_output = gr.Textbox(label="Final Prompt Used", lines=5, interactive=False)
242
  status_output = gr.Textbox(label="Status Log", lines=4, interactive=False)
243
 
 
213
  .preserve-aspect-ratio img {
214
  object-fit: contain !important;
215
  width: auto !important;
216
+ max-height: 512px !important;
217
  }
218
  """
219
  ) as demo:
 
237
 
238
  with gr.Column(scale=1):
239
  gr.Markdown("### 2. Results")
240
+ image_output = gr.Image(label="Generated Image", type="pil", show_download_button=True, height=512, container=False, elem_classes=["preserve-aspect-ratio"])
241
  recapped_prompt_output = gr.Textbox(label="Final Prompt Used", lines=5, interactive=False)
242
  status_output = gr.Textbox(label="Status Log", lines=4, interactive=False)
243