Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,8 @@ def tts_fn(slider_value, input_text):
|
|
146 |
def master_fn(slider_value, input_text):
|
147 |
if "." not in input_text:
|
148 |
input_text += '.'
|
149 |
-
|
|
|
150 |
all_speech = []
|
151 |
for sentence in input_text.split("."):
|
152 |
sampling_rate_response, audio_chunk_response = tts_fn(slider_value, sentence)
|
|
|
146 |
def master_fn(slider_value, input_text):
|
147 |
if "." not in input_text:
|
148 |
input_text += '.'
|
149 |
+
|
150 |
+
print(f"speaker_id = {slider_value}")
|
151 |
all_speech = []
|
152 |
for sentence in input_text.split("."):
|
153 |
sampling_rate_response, audio_chunk_response = tts_fn(slider_value, sentence)
|