Update app.py
Browse files
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':
|
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():
|