Abhaykoul commited on
Commit
7c10401
·
verified ·
1 Parent(s): 8903bd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -158,7 +158,7 @@ def generate():
158
  prompt=prompt
159
  )
160
 
161
- return jsonify(result.result)
162
 
163
  @app.route('/gpt', methods=['POST'])
164
  def chat_gpt():
 
158
  prompt=prompt
159
  )
160
 
161
+ return jsonify({'response': result.result})
162
 
163
  @app.route('/gpt', methods=['POST'])
164
  def chat_gpt():