Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
2c3cc35
1
Parent(s):
69da03e
Update app.py
Browse files
app.py
CHANGED
@@ -58,6 +58,9 @@ def update_selection(evt: gr.SelectData, width, height):
|
|
58 |
elif selected_lora["aspect"] == "landscape":
|
59 |
width = 1024
|
60 |
height = 768
|
|
|
|
|
|
|
61 |
return (
|
62 |
gr.update(placeholder=new_placeholder),
|
63 |
updated_text,
|
|
|
58 |
elif selected_lora["aspect"] == "landscape":
|
59 |
width = 1024
|
60 |
height = 768
|
61 |
+
else:
|
62 |
+
width = 1024
|
63 |
+
height = 1024
|
64 |
return (
|
65 |
gr.update(placeholder=new_placeholder),
|
66 |
updated_text,
|