Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ my_inputs = [
|
|
44 |
my_outputs = gr.Audio(type="filepath", label="Output Audio")
|
45 |
|
46 |
def tts(text: str, speaker_idx: str, language_idx: str):
|
47 |
-
best_model_path = hf_hub_download(repo_id=REPO_ID, filename="
|
48 |
config_path = hf_hub_download(repo_id=REPO_ID, filename="config.json")
|
49 |
speakers_path = hf_hub_download(repo_id=REPO_ID, filename="speakers.pth")
|
50 |
languages_path = hf_hub_download(repo_id=REPO_ID, filename="language_ids.json")
|
|
|
44 |
my_outputs = gr.Audio(type="filepath", label="Output Audio")
|
45 |
|
46 |
def tts(text: str, speaker_idx: str, language_idx: str):
|
47 |
+
best_model_path = hf_hub_download(repo_id=REPO_ID, filename="checkpoint_180000.pth")
|
48 |
config_path = hf_hub_download(repo_id=REPO_ID, filename="config.json")
|
49 |
speakers_path = hf_hub_download(repo_id=REPO_ID, filename="speakers.pth")
|
50 |
languages_path = hf_hub_download(repo_id=REPO_ID, filename="language_ids.json")
|