파이프라인 state추가
This commit is contained in:
1 parent
ee8b940dca
commit
2d4201ce9e
9 files changed
+69
-54
No files matched your search
@@ -0,0 +1,32 @@
|
||||
"""DB 잡 레코드의 진행도로 쓰이는 파이프라인 단계 상태
|
||||
실행 순서대로 선언됨
|
||||
마지막 COMPLETED는 종료 표시
|
||||
"""
|
||||
from enum import StrEnum
|
||||
|
||||
|
||||
class PosterAliveState(StrEnum):
|
||||
DETECT = "detect"
|
||||
NARRATION_TEXT = "narration_text"
|
||||
MOTION = "motion"
|
||||
TTS = "tts"
|
||||
BGM = "bgm"
|
||||
I2V = "i2v"
|
||||
RENDER = "render"
|
||||
COMPLETED = "completed"
|
||||
|
||||
|
||||
class PlayreelState(StrEnum):
|
||||
FETCH = "fetch"
|
||||
SPLIT = "split"
|
||||
UPSCALE = "upscale"
|
||||
ANALYZE = "analyze"
|
||||
MOTION = "motion"
|
||||
NARRATION = "narration"
|
||||
TTS = "tts"
|
||||
BGM = "bgm"
|
||||
I2V = "i2v"
|
||||
HYBRID = "hybrid"
|
||||
COMPOSE = "compose"
|
||||
REVIEW = "review"
|
||||
COMPLETED = "completed"
|
||||
Reference in new issue
Block a user