jhj0517 / Whisper-WebUI

A Web UI for easy subtitle using whisper model.
Apache License 2.0
1.17k stars 171 forks source link

Can't launch the webui. #314

Closed QuantumQuokka2 closed 1 week ago

QuantumQuokka2 commented 1 week ago

Which OS are you using? Windows 11

This is what I get after when I run start-web-ui.bat

Traceback (most recent call last): File "C:\Users\Downloads\Whisper-WebUI-Portable-Windows\Whisper-WebUI\app.py", line 10, in from modules.whisper.whisper_factory import WhisperFactory File "C:\Users\f\Downloads\Whisper-WebUI-Portable-Windows\Whisper-WebUI\modules\whisper\whisper_factory.py", line 6, in from modules.whisper.faster_whisper_inference import FasterWhisperInference File "C:\Users\yf\Downloads\Whisper-WebUI-Portable-Windows\Whisper-WebUI\modules\whisper\faster_whisper_inference.py", line 16, in from modules.whisper.whisper_base import WhisperBase File "C:\Users\Downloads\Whisper-WebUI-Portable-Windows\Whisper-WebUI\modules\whisper\whisper_base.py", line 13, in from modules.uvr.music_separator import MusicSeparator File "C:\Users\f\Downloads\Whisper-WebUI-Portable-Windows\Whisper-WebUI\modules\uvr\music_separator.py", line 11, in from uvr.models import MDX, Demucs, VrNetwork, MDXC ModuleNotFoundError: No module named 'uvr' "launching the app"

I've already ran Install.bat and all of the requirements got installed successfully.

QuantumQuokka2 commented 1 week ago

I've checked and uvr is installed.

Tried both pip install uvr and python -m pip install uvr

QuantumQuokka2 commented 1 week ago

Also tried the docker and it failed and gave this (failed once I tried to process an audio file.

2024-10-03 20:16:59 app-1 | Use "faster-whisper" implementation 2024-10-03 20:16:59 app-1 | Device "cuda" is detected 2024-10-03 20:16:59 app-1 | Running on local URL: http://0.0.0.0:7860 2024-10-03 20:17:00 app-1 | 2024-10-03 20:17:00 app-1 | To create a public link, set share=True in launch(). 2024-10-03 20:17:12 app-1 | Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory 2036-01-01 00:00:00 2001-01-01 00:00:00 xited with code 139

jhj0517 commented 1 week ago

Hi @QuantumQuokka2 .

Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8

Same with #271, You can try to manually install the dll files in the system 32 directory as many get helped with this solution.

Since this happens to so many users, I've been trying to reproduce it, but I keep failing.

I need to know about more detailed dependencies. Can you do:

nvidia-smi
nvcc -V
python -V

in the terminal and show me what it prints out?

jhj0517 commented 1 week ago

Could not load library libcudnn_ops_infer.so.8

@QuantumQuokka2 This has been fixed in https://github.com/jhj0517/Whisper-WebUI/pull/318, and I'm closing this because it's duplicated with #271.

If you still encounter the bug with the new builds, please let me know.