Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def generate_audio():
|
|
| 56 |
output_io.seek(0) # Reset buffer pointer to beginning
|
| 57 |
|
| 58 |
# Send the file in response as attachment for download
|
| 59 |
-
return send_file(output_io, as_attachment=
|
| 60 |
|
| 61 |
'''
|
| 62 |
# Convert to numpy and save to a WAV file
|
|
|
|
| 56 |
output_io.seek(0) # Reset buffer pointer to beginning
|
| 57 |
|
| 58 |
# Send the file in response as attachment for download
|
| 59 |
+
return send_file(output_io, as_attachment=False, download_name="output.wav", mimetype='audio/wav')
|
| 60 |
|
| 61 |
'''
|
| 62 |
# Convert to numpy and save to a WAV file
|