Download src/lib/constants.ts from bhyve/auto-lms: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/spaces/bhyve/auto-lms/resolve/main/src/lib/constants.ts
- Command line
-
hf download hf://spaces/bhyve/auto-lms/src/lib/constants.ts
-
curl -L -o constants.ts https://huggingface.co/spaces/bhyve/auto-lms/resolve/main/src/lib/constants.ts
543 Bytes
| // pg-boss queue names. One queue per concern; the generation queue triggers the | |
| // pipeline orchestrator for a course. | |
| export const QUEUES = { | |
| hello: 'hello', | |
| generateCourse: 'course-generation', | |
| renderCourse: 'course-render', | |
| } as const; | |
| export type QueueName = (typeof QUEUES)[keyof typeof QUEUES]; | |
| // Pacing for the ~1-minute video constraint. Used to budget narration scripts | |
| // and validate rendered durations. | |
| export const WORDS_PER_MINUTE = 150; | |
| export const TARGET_SEGMENT_SECONDS = 60; | |
| export const MAX_SEGMENT_SECONDS = 75; | |