Alidr79 commited on
Commit
8de2ba2
1 Parent(s): d3d4abe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def master_fn(slider_value, input_text):
120
  input_text += '.'
121
 
122
  all_speech = []
123
- for sentence in input_text.split(".")[:-1]:
124
  sampling_rate_response, audio_chunk_response = tts_fn(slider_value, sentence)
125
  all_speech.append(audio_chunk_response)
126
 
 
120
  input_text += '.'
121
 
122
  all_speech = []
123
+ for sentence in input_text.split("."):
124
  sampling_rate_response, audio_chunk_response = tts_fn(slider_value, sentence)
125
  all_speech.append(audio_chunk_response)
126