Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,9 +63,9 @@ def update_selection(evt: gr.SelectData, width, height):
|
|
63 |
if "aspect" in selected_lora:
|
64 |
if selected_lora["aspect"] == "portrait":
|
65 |
width = 768
|
66 |
-
height =
|
67 |
elif selected_lora["aspect"] == "landscape":
|
68 |
-
width =
|
69 |
height = 768
|
70 |
else:
|
71 |
width = 1024
|
|
|
63 |
if "aspect" in selected_lora:
|
64 |
if selected_lora["aspect"] == "portrait":
|
65 |
width = 768
|
66 |
+
height = 1344
|
67 |
elif selected_lora["aspect"] == "landscape":
|
68 |
+
width = 1344
|
69 |
height = 768
|
70 |
else:
|
71 |
width = 1024
|