Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def create_tts_fn(model, hps, speaker_ids):
|
|
34 |
if language is not None:
|
35 |
text = language_marks[language] + text + language_marks[language]
|
36 |
speaker_id = speaker_ids[speaker]
|
|
|
37 |
stn_tst = get_text(text, hps, False)
|
38 |
with no_grad():
|
39 |
x_tst = stn_tst.unsqueeze(0).to(device)
|
|
|
34 |
if language is not None:
|
35 |
text = language_marks[language] + text + language_marks[language]
|
36 |
speaker_id = speaker_ids[speaker]
|
37 |
+
print(text)
|
38 |
stn_tst = get_text(text, hps, False)
|
39 |
with no_grad():
|
40 |
x_tst = stn_tst.unsqueeze(0).to(device)
|