Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ with gr.Blocks() as demo:
|
|
83 |
type='pil',
|
84 |
show_label = False
|
85 |
).style(
|
86 |
-
width="
|
87 |
-
height="
|
88 |
object_fit="scale-down" # Maintain aspect ratio without cropping
|
89 |
)
|
90 |
btn.click(gr_generate_images, [text], gallery)
|
|
|
83 |
type='pil',
|
84 |
show_label = False
|
85 |
).style(
|
86 |
+
width="256", # Use the full view width
|
87 |
+
height="256", # Use the full view height
|
88 |
object_fit="scale-down" # Maintain aspect ratio without cropping
|
89 |
)
|
90 |
btn.click(gr_generate_images, [text], gallery)
|