AdarshJi commited on
Commit
d1a3159
1 Parent(s): 8a17995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -52,6 +52,16 @@ def tts():
52
 
53
  return jsonify({'audio': audio_base64}), 200
54
 
 
 
 
 
 
 
 
 
 
 
55
  if __name__ == '__main__':
56
 
57
  app.run(debug=True, port=5000)
 
52
 
53
  return jsonify({'audio': audio_base64}), 200
54
 
55
+ @app.route('/ttsmoderls', methods=['GET'])
56
+ def ttsmoderls():
57
+
58
+ return jsonify(
59
+ {1 : "aura-luna-en",
60
+ 2 : "aura-asteria-en",
61
+ 3 : "aura-arcas-en",
62
+ 4 : "aura-zeus-en"}
63
+ )
64
+
65
  if __name__ == '__main__':
66
 
67
  app.run(debug=True, port=5000)