reach-vb HF staff commited on
Commit
88dadd2
·
1 Parent(s): 57b9179

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def generate_audio(text,):
39
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as f:
40
  sf.write(f.name, out["audio"][0].T, out["sampling_rate"])
41
 
42
- return f.name
43
 
44
  css = """
45
  #container{
 
39
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as f:
40
  sf.write(f.name, out["audio"][0].T, out["sampling_rate"])
41
 
42
+ return (f.name, f.name)
43
 
44
  css = """
45
  #container{