Optimize the generation logic

This commit is contained in:
puke
2025-10-26 01:52:49 +08:00
committed by puke
parent 198094fe5f
commit f832424dab
17 changed files with 869 additions and 417 deletions

View File

@@ -43,6 +43,7 @@ class ProgressEvent:
frame_total: Optional[int] = None
step: Optional[int] = None # 1-4 for frame processing steps
action: Optional[str] = None # "audio", "image", "compose", "video"
extra_info: Optional[str] = None # Additional information (e.g., batch progress)
def __post_init__(self):
"""Validate progress value"""