Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def Txt_To_Speech(SpeechRegion, SpeechKey, text):
|
|
| 24 |
stream.save_to_wav_file(temp_file.name)
|
| 25 |
temp_file_path = temp_file.name
|
| 26 |
|
| 27 |
-
|
| 28 |
except :
|
| 29 |
output = next_alert
|
| 30 |
return output
|
|
|
|
| 24 |
stream.save_to_wav_file(temp_file.name)
|
| 25 |
temp_file_path = temp_file.name
|
| 26 |
|
| 27 |
+
output = temp_file_path
|
| 28 |
except :
|
| 29 |
output = next_alert
|
| 30 |
return output
|