Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ def text_to_speech(text):
|
|
15 |
text,
|
16 |
"lexicon.txt",
|
17 |
0.2,
|
18 |
-
"
|
19 |
-
"
|
20 |
)
|
21 |
wave = mel2wave(mel, "config.json", "hk_hifi.pickle")
|
22 |
return (wave * (2**15)).astype(np.int16)
|
|
|
15 |
text,
|
16 |
"lexicon.txt",
|
17 |
0.2,
|
18 |
+
"acoustic_latest_ckpt.pickle",
|
19 |
+
"duration_latest_ckpt.pickle",
|
20 |
)
|
21 |
wave = mel2wave(mel, "config.json", "hk_hifi.pickle")
|
22 |
return (wave * (2**15)).astype(np.int16)
|