AdarshJi commited on
Commit
64f266d
·
verified ·
1 Parent(s): d1a3159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 jsonify({'audio': audio_base64}), 200
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():