jonathanjordan21 commited on
Commit
6ddf923
·
verified ·
1 Parent(s): 97bc78f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def forward_gpu(ps, ref_s, speed):
25
  return models[True](ps, ref_s, speed)
26
 
27
  def generate_first(text, voice='af_heart', speed=1, use_gpu=CUDA_AVAILABLE):
28
- text = f"[A]({indo_to_ipa(text)})"
29
  text = text if CHAR_LIMIT is None else text.strip()[:CHAR_LIMIT]
30
  print("[TEST]", text)
31
  pipeline = pipelines[voice[0]]
 
25
  return models[True](ps, ref_s, speed)
26
 
27
  def generate_first(text, voice='af_heart', speed=1, use_gpu=CUDA_AVAILABLE):
28
+ text = f"[_](/{indo_to_ipa(text)}/)"
29
  text = text if CHAR_LIMIT is None else text.strip()[:CHAR_LIMIT]
30
  print("[TEST]", text)
31
  pipeline = pipelines[voice[0]]