VanYsa commited on
Commit
1c3eafd
·
1 Parent(s): 14b3eb9

added one comment

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def voice_player(history):
195
  Returns the audio player with the generated response.
196
  """
197
  _, text = history[-1]
198
- text = text.replace("*", "")
199
  voice = pipe(text)
200
  voice = gr.Audio(value = (
201
  voice["sampling_rate"],
 
195
  Returns the audio player with the generated response.
196
  """
197
  _, text = history[-1]
198
+ text = text.replace("*", "") # For the tts to not read the asterisk of bold text
199
  voice = pipe(text)
200
  voice = gr.Audio(value = (
201
  voice["sampling_rate"],