Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def tts():
|
|
| 50 |
# Run the async function in the event loop
|
| 51 |
audio_base64 = GenAudio(text, model)
|
| 52 |
|
| 53 |
-
return
|
| 54 |
|
| 55 |
@app.route('/ttsmoderls', methods=['GET'])
|
| 56 |
def ttsmoderls():
|
|
|
|
| 50 |
# Run the async function in the event loop
|
| 51 |
audio_base64 = GenAudio(text, model)
|
| 52 |
|
| 53 |
+
return audio_base64, 200
|
| 54 |
|
| 55 |
@app.route('/ttsmoderls', methods=['GET'])
|
| 56 |
def ttsmoderls():
|