stardate69 commited on
Commit
7acd14a
·
verified ·
1 Parent(s): 026dc7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=True, download_name="output.wav", mimetype='audio/wav')
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