PandaArtStation commited on
Commit
389aa97
·
verified ·
1 Parent(s): ae048dd

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +1 -1
models.py CHANGED
@@ -52,7 +52,7 @@ class InteriorDesignerPro:
52
 
53
  style = DESIGN_STYLES.get(style_name, DESIGN_STYLES["Современный минимализм"])
54
 
55
- # В методе apply_style_pro добавить:
56
  if image.width > 768 or image.height > 768:
57
  image.thumbnail((768, 768), Image.Resampling.LANCZOS)
58
 
 
52
 
53
  style = DESIGN_STYLES.get(style_name, DESIGN_STYLES["Современный минимализм"])
54
 
55
+ # Строка 56-57 должна быть:
56
  if image.width > 768 or image.height > 768:
57
  image.thumbnail((768, 768), Image.Resampling.LANCZOS)
58