next-playground commited on
Commit
691b913
·
verified ·
1 Parent(s): 4ecba79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def audio_separation():
42
 
43
  @app.route('/download/<filename>', methods=['GET'])
44
  def download(filename):
45
- return send_file("/tmp/" + filename, as_attachment=True)
46
 
47
  if __name__ == '__main__':
48
  app.run(debug=False)
 
42
 
43
  @app.route('/download/<filename>', methods=['GET'])
44
  def download(filename):
45
+ return send_file(filename, as_attachment=True)
46
 
47
  if __name__ == '__main__':
48
  app.run(debug=False)