Closed cup113 closed 3 months ago
Sorry. Using local_files_only=True
instead of assigning files
parameters fixed the problem.
model_path = Path(argv[0]).parent / "models" / "base"
self.model = WhisperModel(str(model_path), local_files_only=True)
Code:
Error:
Directory structure:
Versions:
All files under 'models/base' are directly downloaded from https://huggingface.co/guillaumekln/faster-whisper-base/tree/main.
(No non-ASCII character involved in path)