rsxdalv / tts-generation-webui

TTS Generation Web UI (Bark, MusicGen + AudioGen, Tortoise, RVC, Vocos, Demucs, SeamlessM4T, MAGNet, StyleTTS2, MMS)
https://rsxdalv.github.io/tts-generation-webui/
MIT License
1.46k stars 160 forks source link

Some gradio tabs are broken after adding Stable Audio #327

Open ashleykleynhans opened 4 days ago

ashleykleynhans commented 4 days ago

The following gradio tabs are broken after adding Stable Audio:

Screenshot 2024-06-24 at 15 10 54

When I try to reinstall requirements_rvc.txt, I get an error:

FileNotFoundError: [Errno 2] No such file or directory: 'fairseq/version.txt'

And when I try to reinstall requirements_bark_hubert_quantizer.txt, I get an error:

ERROR: Cannot install -r requirements_bark_hubert_quantizer.txt (line 4) and fairseq because these package versions have conflicting dependencies.

Seems some conflicting requirements or something.

rsxdalv commented 3 days ago

Thank you for reporting, it was really important. I didn't have this happening so lots of work to be done.

FileNotFoundError: [Errno 2] No such file or directory: 'fairseq/version.txt'

from this I am guessing that we are talking about a non-windows installation, is that correct?

before this update I also modified the fairseq requirements, so now it tries to install this:

requirements_bark_hubert_quantizer.txt

torch==2.0.0 # BSD 3-Clause - ensures torch is not reinstalled
# pre-install fairseq for bark_hubert_quantizer
fairseq @ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl ; sys_platform == 'win32' # MIT License
fairseq==0.12.2 ; sys_platform == 'linux' or sys_platform == 'darwin' # MIT License
bark_hubert_quantizer @ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer # MIT License

I really wish the error was clearer. It says line 4, that would be the fairseq==0.12.2 ; sys_platform == 'linux' or sys_platform == 'darwin' # MIT License line.

So please confirm which OS are you using and then we can see how to fix this. Also, if this is WSL or something similar also let me know.

ashleykleynhans commented 3 days ago

from this I am guessing that we are talking about a non-windows installation, is that correct?

Yes, this is correct, I am using Ubuntu Linux 22.04 LTS.

No WSL, I don't use Windows at all, just pure Linux.

rsxdalv commented 2 days ago

Alright, that is a helpful clue. Also, for reference, the Dockerfile builds successfully on ubuntu-latest runner.

Ubuntu 22.04.4 LTS

https://github.com/rsxdalv/tts-generation-webui/actions/runs/9626988362/job/26553579383

Perhaps the problem is the difference between Dockerfile and installer.

ashleykleynhans commented 2 days ago

I'm also building a Docker image for Ubuntu 22.04 LTS. There are no issues with building the Docker image, I only experience issues at runtime.

rsxdalv commented 2 days ago

I see, that clarifies it quite a bit - the problems don't show up during the build but are still there.