wsippel / bark_tts

Oobabooga extension for Bark TTS
GNU Affero General Public License v3.0
110 stars 14 forks source link

I installed everything, but still it says no bark for some reason... #11

Closed OlliSagi closed 7 months ago

OlliSagi commented 1 year ago

ERROR:Failed to load the extension "{name}". Traceback (most recent call last): File "C:\Users\Documents\aistuff\oobabooga_windows\text-generation-webui\modules\extensions.py", line 34, in load_extensions exec(f"import extensions.{name}.script") File "", line 1, in File "C:\Users\Documents\aistuff\oobabooga_windows\text-generation-webui\extensions\bark_tts\script.py", line 6, in from bark import SAMPLE_RATE, generate_audio, preload_models ModuleNotFoundError: No module named 'bark'

bobsixtyfour commented 1 year ago

If your using oobabooga, run the cmd_windows.bat, and inside that windows THEN run: cd text-generation-webui\extensions git clone https://github.com/wsippel/bark_tts.git pip install -r bark_tts/requirements.txt

artokun commented 1 year ago

It's kinda lame but they hide a lot of the conda magic in the oobabooga one-click-installer

at the end of the file just comment out python webui.py and drop in the pip install command in there like so

# start_linux.sh
...

# setup installer env
#python webui.py <--- comment this out first
pip install -r ./text-generation-webui/extensions/bark_tts/requirements.txt # <-- paste this in and run script again
echo
echo "Done!"
CodeNinjasV commented 1 year ago

I am running into this issue too, any updates on a solution?

luthis1124 commented 11 months ago

I just did a reinstall of oobabooga and then this repo, everything worked. I'm on Linux though

MarkPhsd commented 11 months ago

Also having a problem with the same issue. Using Windows 10. Using the one click installer.

Promootheus commented 11 months ago

Got the same error as the OP, running on linux. Folled the instructions and tried the suggestions here also. Edit: Just fixed it by running the oobabooga update script follwed by pip uninstall suno-bark, then repeat the pip install -r requirements.txt