Restructure backend and frontend modules; add story, library, and editor schema migrations. Support editable automatic production, manual confirmation modes, account and user lifecycle management, compact container scrolling, consistent forms, and per-task result previews. Update inference and TTS scheduling, deployment guidance, and regression coverage; remove obsolete standalone pages and temporary acceptance artifacts.
23 lines
559 B
Python
23 lines
559 B
Python
"""任务分类与完成态;不读取配置、不访问数据库或模型。"""
|
|
|
|
GPU_TYPES = {
|
|
"image.generate",
|
|
"image.reference.generate",
|
|
"video.generate",
|
|
"video.people.analyze",
|
|
"video.replace",
|
|
"defect.generate",
|
|
"audio.transcribe",
|
|
}
|
|
CPU_TYPES = {
|
|
"image.prepare_frame",
|
|
"math.solve",
|
|
"media.structure",
|
|
"video.compose",
|
|
"audio.speech",
|
|
"text.script.generate",
|
|
"audio.assemble",
|
|
}
|
|
TERMINAL = {"succeeded", "failed", "cancelled", "timed_out"}
|
|
RUN_TERMINAL = {"succeeded", "cancelled", "failed"}
|