Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -116,5 +116,6 @@ async def on_message(msg: cl.Message):
|
|
116 |
if stream:
|
117 |
await process_stream(stream, msg=stream_msg)
|
118 |
message_history.append({"role": "system", "content": stream_msg.content})
|
|
|
119 |
|
120 |
return stream_msg.content
|
|
|
116 |
if stream:
|
117 |
await process_stream(stream, msg=stream_msg)
|
118 |
message_history.append({"role": "system", "content": stream_msg.content})
|
119 |
+
image_history.append({"role": "system", "content": stream_msg.content})
|
120 |
|
121 |
return stream_msg.content
|