You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
MODEL = whisper.load_model("tiny",download_root=r"D:\W.S-PROJECT\test\env\Lib\site-packages\whisper")
except Exception as e:
LOG.error(f"Error loading model: {e}")
pass
# Transcribe the audio using the tiny model
try:
result = self.model.transcribe(path_to_mp3)
key=result["text"].strip()
except Exception as e:
LOG.error(f"Error transcribing audio using tiny model | error: {e}")
key=""
When I am running my exe on Windows, I get this error:
log.pyc | 2024-11-14 21:04:31 | Error transcribing audio using tiny model | error: [Errno 2] No such file or directory: 'C:\Users\Mominur\AppData\Local\Temp\_MEI64962\whisper\assets\mel_filters.npz'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I am running my exe on Windows, I get this error:
log.pyc | 2024-11-14 21:04:31 | Error transcribing audio using tiny model | error: [Errno 2] No such file or directory: 'C:\Users\Mominur\AppData\Local\Temp\_MEI64962\whisper\assets\mel_filters.npz'
Please can you help me to solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions