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

Commit

Permalink
add bark voice cloning (#2)
Browse files Browse the repository at this point in the history
* Update webui.py
  • Loading branch information
rsxdalv authored May 21, 2023
1 parent 5468446 commit eaa8389
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ def update_dependencies():
run_cmd("python setup.py install")
run_cmd("conda install -y --channel=numba llvmlite")

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 https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer.git tts-generation-webui/models/bark_voice_cloning_hubert_quantizer")

os.chdir("tts-generation-webui/models/bark_voice_cloning_hubert_quantizer")
run_cmd("git pull")

# Installs/Updates dependencies from all requirements.txt
run_cmd("pip install -r requirements.txt")


def run_model():
os.chdir("tts-generation-webui")
Expand Down

0 comments on commit eaa8389

Please sign in to comment.