Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -129,6 +129,8 @@ def normalize_text(text):
|
|
129 |
def text_to_speech(text, audio_file=None):
|
130 |
# Normalize the input text
|
131 |
normalized_text = normalize_text(text)
|
|
|
|
|
132 |
|
133 |
# # Prepare the input for the model
|
134 |
# inputs = processor(text=normalized_text, return_tensors="pt").to(device)
|
|
|
129 |
def text_to_speech(text, audio_file=None):
|
130 |
# Normalize the input text
|
131 |
normalized_text = normalize_text(text)
|
132 |
+
|
133 |
+
print("normalized text: ", normalized_text)
|
134 |
|
135 |
# # Prepare the input for the model
|
136 |
# inputs = processor(text=normalized_text, return_tensors="pt").to(device)
|