Kamtera commited on
Commit
0553379
1 Parent(s): 7eda091

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def tts(text: str):
10
  import subprocess
11
 
12
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
13
- print(fp)
14
  output = subprocess.check_output(f'mimic3 --voice fa/haaniye_low "{text.encode("unicode-escape").decode("utf-8")}" > {fp.name}', shell=True, stderr=subprocess.STDOUT)
15
  return fp.name
16
 
 
10
  import subprocess
11
 
12
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
13
+ #print(fp)
14
  output = subprocess.check_output(f'mimic3 --voice fa/haaniye_low "{text.encode("unicode-escape").decode("utf-8")}" > {fp.name}', shell=True, stderr=subprocess.STDOUT)
15
  return fp.name
16