Spaces:
Runtime error
Runtime error
Commit
·
00cd793
1
Parent(s):
7ce02d9
Update main.py
Browse files
main.py
CHANGED
@@ -258,7 +258,7 @@ def generateQuestions():
|
|
258 |
)
|
259 |
resulta = response.choices[0].text
|
260 |
chat_references = filtergpt(resulta)
|
261 |
-
return jsonify(
|
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
|