saeedabdulmuizz commited on
Commit
4267bdb
·
verified ·
1 Parent(s): 3b50d55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -173,7 +173,7 @@ def translate(text):
173
  @torch.inference_mode()
174
  def process(text, speaker_id):
175
  # 1. Kashmiri script normalization
176
- text = text.replace("ي", "ی").replace("ك", "ک").strip()
177
 
178
  # 2. Text to Sequence
179
  cleaner = "basic_cleaners"
 
173
  @torch.inference_mode()
174
  def process(text, speaker_id):
175
  # 1. Kashmiri script normalization
176
+ text = text.replace("ي", "ی").replace("ك", "ک").replace("۔", "").strip()
177
 
178
  # 2. Text to Sequence
179
  cleaner = "basic_cleaners"