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

Commit

Permalink
switch to hubert_only
Browse files Browse the repository at this point in the history
  • Loading branch information
rsxdalv committed May 29, 2023
1 parent 1bb3453 commit ed63c5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ 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 https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer.git 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")

os.chdir("tts-generation-webui/models/bark_voice_cloning_hubert_quantizer")
# checkout to the correct branch
run_cmd("git checkout hubert_only")
run_cmd("git pull")

# Installs/Updates dependencies from all requirements.txt
Expand Down Expand Up @@ -122,4 +124,4 @@ def run_model():
os.chdir(script_dir)

# Run the model with webui
run_model()
run_model()

0 comments on commit ed63c5e

Please sign in to comment.