anzorq commited on
Commit
1d3c496
1 Parent(s): 6eb1048

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -23,6 +23,8 @@ def tts(text: str):
23
  print(f"Input text was cutoff since it went over the {MAX_TXT_LEN} character limit.")
24
  print(text)
25
 
 
 
26
  # synthesize
27
  synthesizer = Synthesizer(f"{MODEL_DIR}/model.pth", f"{MODEL_DIR}/config.json")
28
  wavs = synthesizer.tts(text)
 
23
  print(f"Input text was cutoff since it went over the {MAX_TXT_LEN} character limit.")
24
  print(text)
25
 
26
+ text = text.replace("I", "ӏ") #replace capital is with "Palochka" symbol
27
+
28
  # synthesize
29
  synthesizer = Synthesizer(f"{MODEL_DIR}/model.pth", f"{MODEL_DIR}/config.json")
30
  wavs = synthesizer.tts(text)