Use values from settings.yaml #8

Closed
opened 2026-04-18 16:04:27 +00:00 by SaschaFuksa · 0 comments
Owner

There are some places in code where information are hardcoded. The same information are in the settings.yaml.
Example: model_path: models/ggml-model.bin
src/transcription/whisper_service.py: model_path: str = "/app/models/ggml-model.bin",

This should be: model_path: str = "/app/" + config.model_path
Check the whole repo for similar cases and fix them

There are some places in code where information are hardcoded. The same information are in the settings.yaml. Example: model_path: models/ggml-model.bin src/transcription/whisper_service.py: model_path: str = "/app/models/ggml-model.bin", This should be: model_path: str = "/app/" + config.model_path Check the whole repo for similar cases and fix them
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Tasch/whisper-transcribe#8
No description provided.