mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
- Raised these signals for background loaded media to the app level - Raised the enums and types for these signals to the app level - Delete the old useInferenceManager that only specifically handles audio inferences - Use the new signal and its implementation pattern to handle audio inferences - Clean up and simplify the implementation pattern to this new signal - Variable polling frequencies depending what kind of active jobs exist in the list --------- Co-authored-by: wil <wil@storyteller.ai>
17 lines
434 B
TypeScript
17 lines
434 B
TypeScript
export enum JobStatus {
|
|
PENDING = "pending",
|
|
STARTED = "started",
|
|
ATTEMPT_FAILED = "attempt_failed",
|
|
COMPLETE_SUCCESS = "complete_success",
|
|
COMPLETE_FAILURE = "complete_failure",
|
|
DEAD = "dead",
|
|
CANCELLED_BY_USER = "cancelled_by_user",
|
|
CANCCELLED_BY_SYSTEM = "cancelled_by_system",
|
|
}
|
|
|
|
export enum JobType {
|
|
TextToSpeech = "text_to_speech",
|
|
VoiceConversion = "voice_conversion",
|
|
VideoStyleTransfer = "workflow",
|
|
}
|