Skip to content

Commit

Permalink
Update run_model_downloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Flux9665 authored Jun 10, 2024
1 parent ae6dbf4 commit bb4755b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_model_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ def download_models():
print("Downloading Baseline Model (Prompting)")
os.makedirs(os.path.join(MODELS_DIR, "ToucanTTS_Baseline"), exist_ok=True)
filename, headers = urllib.request.urlretrieve(
url="https://github.com/Thommy96/IMS-Toucan/releases/download/v1.0/baseline.pt",
url="https://github.com/DigitalPhonetics/IMS-Toucan/releases/download/v2.p/baseline.pt",
filename=os.path.abspath(os.path.join(MODELS_DIR, "ToucanTTS_Baseline", "best.pt")),
reporthook=report)

#############
print("Downloading Proposed Model (Prompting)")
os.makedirs(os.path.join(MODELS_DIR, "ToucanTTS_Proposed"), exist_ok=True)
filename, headers = urllib.request.urlretrieve(
url="https://github.com/Thommy96/IMS-Toucan/releases/download/v1.0/proposed.pt",
url="https://github.com/DigitalPhonetics/IMS-Toucan/releases/download/v2.p/proposed.pt",
filename=os.path.abspath(os.path.join(MODELS_DIR, "ToucanTTS_Proposed", "best.pt")),
reporthook=report)

Expand Down

0 comments on commit bb4755b

Please sign in to comment.