Oysiyl commited on
Commit
3982804
1 Parent(s): c552b6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def create_speaker_embedding(speaker_model, waveform: np.ndarray) -> np.ndarray:
22
 
23
 
24
  def remove_special_characters_s(text: Text) -> Text:
25
- chars_to_remove_regex = '[\…\–\"\“\%\‘\”\�\»\«\„\`\'́]'
26
  # remove special characters
27
  text = re.sub(chars_to_remove_regex, '', text)
28
  text = re.sub("՚", "'", text)
 
22
 
23
 
24
  def remove_special_characters_s(text: Text) -> Text:
25
+ chars_to_remove_regex = '[\-\…\–\"\“\%\‘\”\�\»\«\„\`\'́]'
26
  # remove special characters
27
  text = re.sub(chars_to_remove_regex, '', text)
28
  text = re.sub("՚", "'", text)