rlpeter70 commited on
Commit
e1fae59
·
1 Parent(s): 3cb69c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -47,7 +47,8 @@ async def main(message: cl.Message):
47
 
48
  # Do some raqa stuff
49
  #msg = cl.Message(content=message.content)
50
- msg = retrieval_augmented_qa_pipeline.run_pipeline(cl.Message(content=message.content))
 
51
 
52
  # Send and close the message stream
53
  await msg.send()
 
47
 
48
  # Do some raqa stuff
49
  #msg = cl.Message(content=message.content)
50
+ response=retrieval_augmented_qa_pipeline.run_pipeline(message.content)
51
+ msg = cl.Message(content=respone)
52
 
53
  # Send and close the message stream
54
  await msg.send()