testing why speech is broken
Browse files
app.py
CHANGED
|
@@ -167,6 +167,7 @@ def api_text_to_speech():
|
|
| 167 |
message = data.get("message", "")
|
| 168 |
output_filename = data.get("output_filename", "output.wav")
|
| 169 |
saved_response = data.get("Saved_response", "")
|
|
|
|
| 170 |
# Generate the WAV file from the text
|
| 171 |
saved_response = cancer_app_instance.text_to_speech(message, output_filename, Saved_response=saved_response)
|
| 172 |
# Return the file instead of JSON
|
|
|
|
| 167 |
message = data.get("message", "")
|
| 168 |
output_filename = data.get("output_filename", "output.wav")
|
| 169 |
saved_response = data.get("Saved_response", "")
|
| 170 |
+
print("got the data")
|
| 171 |
# Generate the WAV file from the text
|
| 172 |
saved_response = cancer_app_instance.text_to_speech(message, output_filename, Saved_response=saved_response)
|
| 173 |
# Return the file instead of JSON
|