Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def voicevox_resp():
|
|
| 22 |
data = voicevox(text, speaker=speaker)
|
| 23 |
io = BytesIO(data)
|
| 24 |
|
| 25 |
-
return send_file(io, as_attachment=True, mimetype="audio/mp3")
|
| 26 |
except Exception as e:
|
| 27 |
return jsonify({'error': str(e)}), 500
|
| 28 |
|
|
|
|
| 22 |
data = voicevox(text, speaker=speaker)
|
| 23 |
io = BytesIO(data)
|
| 24 |
|
| 25 |
+
return send_file(io, as_attachment=True, mimetype="audio/mp3", download_name='rull-pyward_voicevox.mp3')
|
| 26 |
except Exception as e:
|
| 27 |
return jsonify({'error': str(e)}), 500
|
| 28 |
|