rull commited on
Commit
045e664
·
verified ·
1 Parent(s): f418c58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def voicevox_resp():
24
 
25
  return send_file(io, as_attachment=True, mimetype="audio/mp3", download_name=f'rull-pyward_voicevox({text.strip()}).mp3')
26
  except Exception as e:
27
- return jsonify({'error': str(e)}), 500
28
 
29
  @app.route('/proxy')
30
  def proxy():
 
24
 
25
  return send_file(io, as_attachment=True, mimetype="audio/mp3", download_name=f'rull-pyward_voicevox({text.strip()}).mp3')
26
  except Exception as e:
27
+ return jsonify({'error': "Internal server error"}), 500
28
 
29
  @app.route('/proxy')
30
  def proxy():