Katock commited on
Commit
8b14656
·
1 Parent(s): 96a9860

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def create_fn(model, spk):
52
  os.remove(temp_path)
53
  return sr, out_audio
54
 
55
- def tts_fn(input_text, gender, tts_rate, vc_transform, auto_f0, f0p):
56
  if input_text == '':
57
  return 0, None
58
  input_text = re.sub(r"[\n\,\(\) ]", "", input_text)
 
52
  os.remove(temp_path)
53
  return sr, out_audio
54
 
55
+ async def tts_fn(input_text, gender, tts_rate, vc_transform, auto_f0, f0p):
56
  if input_text == '':
57
  return 0, None
58
  input_text = re.sub(r"[\n\,\(\) ]", "", input_text)