From d098f32730b8c526e2ab4915b1085b1e047e28ce Mon Sep 17 00:00:00 2001 From: Shivam Mehta Date: Thu, 21 Sep 2023 12:32:27 +0000 Subject: [PATCH] bumping diffusers, changing depandabot to open PR to dev branch, adding url for multispeaker matcha checkpoint --- .github/dependabot.yml | 1 + matcha/app.py | 2 +- matcha/cli.py | 4 ++-- requirements.txt | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5a861fd..b19ccab 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,6 +7,7 @@ version: 2 updates: - package-ecosystem: "pip" # See documentation for possible values directory: "/" # Location of package manifests + target-branch: "dev" schedule: interval: "daily" ignore: diff --git a/matcha/app.py b/matcha/app.py index 5eed0c4..40c8c21 100644 --- a/matcha/app.py +++ b/matcha/app.py @@ -177,7 +177,7 @@ def main(): with gr.Row(): text = gr.Textbox(value="", lines=2, label="Text to synthesise", scale=3) spk_slider = gr.Slider( - minimum=0, maximum=108, step=1, value=args.spk, label="Speaker ID", interactive=True, scale=1 + minimum=0, maximum=107, step=1, value=args.spk, label="Speaker ID", interactive=True, scale=1 ) with gr.Row(): diff --git a/matcha/cli.py b/matcha/cli.py index 47c7c87..9e3f7fb 100644 --- a/matcha/cli.py +++ b/matcha/cli.py @@ -19,7 +19,7 @@ from matcha.utils.utils import assert_model_downloaded, get_user_data_dir, inter MATCHA_URLS = { "matcha_ljspeech": "https://drive.google.com/file/d/1BBzmMU7k3a_WetDfaFblMoN18GqQeHCg/view?usp=drive_link", - "matcha_vctk": "", # Coming soon + "matcha_vctk": "https://drive.google.com/file/d/1enuxmfslZciWGAl63WGh2ekVo00FYuQ9/view?usp=drive_link", } VOCODER_URLS = { @@ -28,7 +28,7 @@ VOCODER_URLS = { } MULTISPEAKER_MODEL = { - "matcha_vctk": {"vocoder": "hifigan_univ_v1", "speaking_rate": 0.85, "spk": 0, "spk_range": (0, 108)} + "matcha_vctk": {"vocoder": "hifigan_univ_v1", "speaking_rate": 0.85, "spk": 0, "spk_range": (0, 107)} } SINGLESPEAKER_MODEL = {"matcha_ljspeech": {"vocoder": "hifigan_T2_v1", "speaking_rate": 0.95, "spk": None}} diff --git a/requirements.txt b/requirements.txt index ac1abf8..c058372 100644 --- a/requirements.txt +++ b/requirements.txt @@ -35,7 +35,7 @@ torchaudio matplotlib pandas conformer==0.3.2 -diffusers==0.21.1 +diffusers==0.21.2 notebook ipywidgets gradio