Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,6 @@ async def main(message: cl.Message):
|
|
| 147 |
|
| 148 |
async for chunk in runnable.astream(
|
| 149 |
{"question": message.content},
|
| 150 |
-
config=RunnableConfig(callbacks=[cl.LangchainCallbackHandler()]),
|
| 151 |
):
|
| 152 |
await msg.stream_token(chunk.content)
|
| 153 |
|
|
|
|
| 147 |
|
| 148 |
async for chunk in runnable.astream(
|
| 149 |
{"question": message.content},
|
|
|
|
| 150 |
):
|
| 151 |
await msg.stream_token(chunk.content)
|
| 152 |
|