Villagerindo commited on
Commit
b7edbd8
1 Parent(s): db68367

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def home():
87
  def ayakaTTS():
88
  query = request.args.get('text')
89
  generate(query)
90
- return jsonify({"work": query, "url": request.url + "/result"})
91
  @app.route('/result')
92
  def resultAud():
93
  return send_file("speech.wav")
 
87
  def ayakaTTS():
88
  query = request.args.get('text')
89
  generate(query)
90
+ return jsonify({"work": query, "url": public_url + "/result"})
91
  @app.route('/result')
92
  def resultAud():
93
  return send_file("speech.wav")