mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-11 04:58:34 +03:00
fix: configure docker build to use WHISPER_MODEL env
This commit is contained in:
@@ -5,5 +5,3 @@ from whisper import _download, _MODELS # type: ignore
|
||||
if __name__ == "__main__":
|
||||
model_name = sys.argv[1].strip()
|
||||
_download(_MODELS[model_name], "/models/", False)
|
||||
# if model_name != "large":
|
||||
# _download(_MODELS[f"{model_name}.en"], "/models/", False)
|
||||
|
||||
Reference in New Issue
Block a user