Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Commit d15006e

Browse files
committed
add ffmpeg and fix hubert
1 parent ed63c5e commit d15006e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def update_dependencies():
6868
os.chdir("tts-generation-webui")
6969
run_cmd("git pull")
7070

71+
run_cmd("conda install -y -c pytorch ffmpeg") # LGPL
72+
7173
run_cmd("pip install -r requirements.txt")
7274

7375
os.chdir(script_dir)
@@ -91,7 +93,7 @@ def update_dependencies():
9193
os.chdir(script_dir)
9294
# clone if doesn't exist
9395
if not os.path.exists("tts-generation-webui/models/bark_voice_cloning_hubert_quantizer"):
94-
run_cmd("git clone --branch hubert_only https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer bark_voice_cloning_hubert_quantizer")
96+
run_cmd("git clone --branch hubert_only https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer tts-generation-webui/models/bark_voice_cloning_hubert_quantizer")
9597

9698
os.chdir("tts-generation-webui/models/bark_voice_cloning_hubert_quantizer")
9799
# checkout to the correct branch

0 commit comments

Comments
 (0)