aymanemalih commited on
Commit
00cd793
·
1 Parent(s): 7ce02d9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -258,7 +258,7 @@ def generateQuestions():
258
  )
259
  resulta = response.choices[0].text
260
  chat_references = filtergpt(resulta)
261
- return jsonify(response)
262
  # return jsonify({'question': {'id': question_id, 'date': date, 'texte': texte},'result_qdrant':results})
263
  else:
264
  return jsonify({'error': 'Invalid request'}), 400
 
258
  )
259
  resulta = response.choices[0].text
260
  chat_references = filtergpt(resulta)
261
+ return jsonify(resulta)
262
  # return jsonify({'question': {'id': question_id, 'date': date, 'texte': texte},'result_qdrant':results})
263
  else:
264
  return jsonify({'error': 'Invalid request'}), 400