Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Winerror 2 The system cannot find the file specified #45

Closed
TomerGamerTV opened this issue May 3, 2023 · 1 comment
Closed

Winerror 2 The system cannot find the file specified #45

TomerGamerTV opened this issue May 3, 2023 · 1 comment

Comments

@TomerGamerTV
Copy link

I keep getting this error after upload the mp3 file:

File "D:\AI-Generators\whisper-ui\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "D:\AI-Generators\whisper-ui\app\01_🏠_Home.py", line 77, in <module>
    media_manager.add(
File "D:\AI-Generators\whisper-ui\app\core.py", line 169, in add
    self._create(source_list=source_list, source_type=source_type, **whisper_args)
File "D:\AI-Generators\whisper-ui\app\core.py", line 151, in _create
    self._transcribe_and_save(media_obj, whisper_model, **whisper_args)
File "D:\AI-Generators\whisper-ui\app\core.py", line 64, in _transcribe_and_save
    transcript = self._transcribe(media_obj.filepath, whisper_model, **whisper_args)
File "D:\AI-Generators\whisper-ui\app\core.py", line 54, in _transcribe
    transcript = transcriber.transcribe(
File "D:\AI-Generators\whisper-ui\venv\lib\site-packages\whisper\transcribe.py", line 84, in transcribe
    mel = log_mel_spectrogram(audio)
File "D:\AI-Generators\whisper-ui\venv\lib\site-packages\whisper\audio.py", line 111, in log_mel_spectrogram
    audio = load_audio(audio)
File "D:\AI-Generators\whisper-ui\venv\lib\site-packages\whisper\audio.py", line 42, in load_audio
    ffmpeg.input(file, threads=0)
File "D:\AI-Generators\whisper-ui\venv\lib\site-packages\ffmpeg\_run.py", line 313, in run
    process = run_async(
File "D:\AI-Generators\whisper-ui\venv\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
    return subprocess.Popen(
File "C:\Program Files\Python310\lib\subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python310\lib\subprocess.py", line 1440, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
@hayabhay
Copy link
Owner

hayabhay commented Jul 5, 2023

Closing this since this might not be applicable for the new version.

@hayabhay hayabhay closed this as completed Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants