diwash-barla1 commited on
Commit
fbbc034
·
unverified ·
1 Parent(s): 8d61136

Add new aspect ratios to video resolutions

Browse files
Files changed (1) hide show
  1. comfy_engine.py +3 -3
comfy_engine.py CHANGED
@@ -11,9 +11,9 @@ with open("workflow.json", "r", encoding="utf-8") as f:
11
  WORKFLOW_TEMPLATE = json.load(f)
12
 
13
  RESOLUTIONS = {
14
- "360p": {"16:9": (640, 360), "9:16": (360, 640), "1:1": (512, 512)},
15
- "480p": {"16:9": (848, 480), "9:16": (480, 848), "1:1": (640, 640)},
16
- "720p": {"16:9": (1280, 720), "9:16": (720, 1280), "1:1": (768, 768)}
17
  }
18
 
19
  # ==========================================
 
11
  WORKFLOW_TEMPLATE = json.load(f)
12
 
13
  RESOLUTIONS = {
14
+ "360p": {"16:9": (640, 360), "9:16": (360, 640), "1:1": (512, 512), "21:9": (640, 272), "3:4": (384, 512)},
15
+ "480p": {"16:9": (848, 480), "9:16": (480, 848), "1:1": (640, 640), "21:9": (848, 360), "3:4": (480, 640)},
16
+ "720p": {"16:9": (1280, 720), "9:16": (720, 1280), "1:1": (768, 768), "21:9": (1280, 544), "3:4": (768, 1024)}
17
  }
18
 
19
  # ==========================================