itacaiunas
commited on
Commit
•
edca1ee
1
Parent(s):
ad04723
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ if uploaded_file is not None:
|
|
74 |
# Canvas size logic
|
75 |
canvas_bg = deepcopy(img_input)
|
76 |
aspect_ratio = canvas_bg.width / canvas_bg.height
|
77 |
-
streamlit_width =
|
78 |
|
79 |
# Max width is 720. Resize the height to maintain its aspectratio.
|
80 |
if canvas_bg.width > streamlit_width:
|
|
|
74 |
# Canvas size logic
|
75 |
canvas_bg = deepcopy(img_input)
|
76 |
aspect_ratio = canvas_bg.width / canvas_bg.height
|
77 |
+
streamlit_width = 720
|
78 |
|
79 |
# Max width is 720. Resize the height to maintain its aspectratio.
|
80 |
if canvas_bg.width > streamlit_width:
|