Explorar el Código

change image size

tomoya hace 7 meses
padre
commit
2158ba8107
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      backend/app/app/api/api_v1/endpoints/images.py

+ 2 - 2
backend/app/app/api/api_v1/endpoints/images.py

@@ -124,11 +124,11 @@ def del_image():
 
 
 aspects = ['16:9', '3:2', '1:1', '2:3', '9:16']
 aspects = ['16:9', '3:2', '1:1', '2:3', '9:16']
 flux_image_size = [
 flux_image_size = [
-    (450, 800),
+    (448, 800),
     (480, 720),
     (480, 720),
     (600, 600),
     (600, 600),
     (720, 480),
     (720, 480),
-    (800, 250)
+    (800, 448)
 ]
 ]
 
 
 def remove_file(path: str) -> None:
 def remove_file(path: str) -> None: