Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,9 @@ def tts_fn(slider_value, input_text):
|
|
87 |
text += i + " <pad> "
|
88 |
|
89 |
text += "</s>"
|
90 |
-
|
|
|
|
|
91 |
|
92 |
with torch.no_grad():
|
93 |
inputs = processor(text = text, return_tensors="pt")
|
|
|
87 |
text += i + " <pad> "
|
88 |
|
89 |
text += "</s>"
|
90 |
+
|
91 |
+
print("sentence:", input_text)
|
92 |
+
print("sentence phonemes:", text)
|
93 |
|
94 |
with torch.no_grad():
|
95 |
inputs = processor(text = text, return_tensors="pt")
|