Spaces:
Sleeping
Sleeping
James MacQuillan
commited on
Commit
·
1595ea1
1
Parent(s):
0566911
push
Browse files
app.py
CHANGED
@@ -410,8 +410,8 @@ def detect_data_request(user_input, history):
|
|
410 |
stream=True,
|
411 |
):
|
412 |
delta = message.choices[0].delta
|
413 |
-
|
414 |
-
|
415 |
|
416 |
history.append(("You: " + user_input, "IM.B: " + final_response))
|
417 |
except:
|
|
|
410 |
stream=True,
|
411 |
):
|
412 |
delta = message.choices[0].delta
|
413 |
+
|
414 |
+
final_response += delta["content"]
|
415 |
|
416 |
history.append(("You: " + user_input, "IM.B: " + final_response))
|
417 |
except:
|