Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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:
|
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=
|
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 |
|