mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
fix runtime download by creating specific storage paths for models
This commit is contained in:
@@ -17,7 +17,7 @@ WHISPER_NUM_WORKERS: int = 1
|
||||
# Translation Model
|
||||
TRANSLATION_MODEL = "facebook/m2m100_1.2B"
|
||||
|
||||
IMAGE_MODEL_DIR = "/root/transcription_models"
|
||||
IMAGE_MODEL_DIR = f"/root/transcription_models/{TRANSLATION_MODEL}"
|
||||
|
||||
stub = Stub(name="reflector-transcriber")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user