working fe

This commit is contained in:
Alex
2023-05-31 15:42:17 +01:00
parent 8380858a82
commit 20c877f75b
2 changed files with 50 additions and 55 deletions

View File

@@ -149,6 +149,7 @@ def stream():
#question = data["question"]
# get parameter from url question
question = request.args.get('question')
history = request.args.get('history')
#question = "Hi"
return Response(complete_stream(question), mimetype='text/event-stream')