Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,6 +72,6 @@ async def main(message):
|
|
72 |
stream_final_answer=False, answer_prefix_tokens=["FINAL", "ANSWER"]
|
73 |
)
|
74 |
cb.answer_reached = True
|
75 |
-
answer = chain
|
76 |
|
77 |
await cl.Message(content=answer["output"]).send()
|
|
|
72 |
stream_final_answer=False, answer_prefix_tokens=["FINAL", "ANSWER"]
|
73 |
)
|
74 |
cb.answer_reached = True
|
75 |
+
answer = chain({"input": message})
|
76 |
|
77 |
await cl.Message(content=answer["output"]).send()
|