Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,6 +75,7 @@ def chat_gen(message, history, return_buffer=True):
|
|
75 |
'context': retrieved_docs
|
76 |
}
|
77 |
ai_msg = conv_chain.invoke(state)
|
|
|
78 |
for token in ai_msg["answer"]:
|
79 |
buffer += token
|
80 |
yield buffer
|
|
|
75 |
'context': retrieved_docs
|
76 |
}
|
77 |
ai_msg = conv_chain.invoke(state)
|
78 |
+
print(ai_msg)
|
79 |
for token in ai_msg["answer"]:
|
80 |
buffer += token
|
81 |
yield buffer
|