Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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{
|