Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ for file_name in file_names:
|
|
34 |
emotion[emotion_name] = os.path.join("./wavs", file_name)
|
35 |
import random
|
36 |
def tts(txt, emotion):
|
37 |
-
|
38 |
stn_tst = get_text_byroma(txt, hps)
|
39 |
else:
|
40 |
stn_tst = get_text(txt, hps)
|
|
|
34 |
emotion[emotion_name] = os.path.join("./wavs", file_name)
|
35 |
import random
|
36 |
def tts(txt, emotion):
|
37 |
+
if roma:
|
38 |
stn_tst = get_text_byroma(txt, hps)
|
39 |
else:
|
40 |
stn_tst = get_text(txt, hps)
|