Prgckwb
commited on
Commit
•
8bab724
1
Parent(s):
54ebdcc
fix error
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ speaker_ids = model.hps.data.spk2id
|
|
15 |
|
16 |
|
17 |
def inference(
|
18 |
-
|
19 |
):
|
20 |
try:
|
21 |
out_path = "audio.wav"
|
@@ -51,7 +51,7 @@ if __name__ == "__main__":
|
|
51 |
gr.Slider(minimum=0.5, maximum=3.0, value=1.0, label="Speed"),
|
52 |
gr.Dropdown(
|
53 |
label="Speaker",
|
54 |
-
choices=["EN
|
55 |
value="EN-US",
|
56 |
),
|
57 |
],
|
|
|
15 |
|
16 |
|
17 |
def inference(
|
18 |
+
text: str, speed: float, speaker: str, progress=gr.Progress(track_tqdm=True)
|
19 |
):
|
20 |
try:
|
21 |
out_path = "audio.wav"
|
|
|
51 |
gr.Slider(minimum=0.5, maximum=3.0, value=1.0, label="Speed"),
|
52 |
gr.Dropdown(
|
53 |
label="Speaker",
|
54 |
+
choices=["EN-US", "EN-BR", "EN_INDIA", "EN-AU", "EN-Default"],
|
55 |
value="EN-US",
|
56 |
),
|
57 |
],
|
audio.wav
CHANGED
Binary files a/audio.wav and b/audio.wav differ
|
|