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

Commit

Permalink
add ffmpeg and fix hubert
Browse files Browse the repository at this point in the history
  • Loading branch information
rsxdalv committed May 31, 2023
1 parent ed63c5e commit d15006e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ def update_dependencies():
os.chdir("tts-generation-webui")
run_cmd("git pull")

run_cmd("conda install -y -c pytorch ffmpeg") # LGPL

run_cmd("pip install -r requirements.txt")

os.chdir(script_dir)
Expand All @@ -91,7 +93,7 @@ def update_dependencies():
os.chdir(script_dir)
# clone if doesn't exist
if not os.path.exists("tts-generation-webui/models/bark_voice_cloning_hubert_quantizer"):
run_cmd("git clone --branch hubert_only https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer bark_voice_cloning_hubert_quantizer")
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")

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

0 comments on commit d15006e

Please sign in to comment.