mlara commited on
Commit
fda84e8
1 Parent(s): 8950a9f
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -57,10 +57,12 @@ async def main(message: cl.Message):
57
  )
58
  response = pipeline.run_pipeline(message.content)
59
 
60
- msg = cl.Message(content="")
61
 
62
  # Update the prompt object with the completion
63
- msg.prompt = response
 
 
64
 
65
  # Send and close the message stream
66
  await msg.send()
 
57
  )
58
  response = pipeline.run_pipeline(message.content)
59
 
60
+ msg = cl.Message(content=response)
61
 
62
  # Update the prompt object with the completion
63
+ # msg.prompt = response
64
+ # msg.stream_token(response)
65
+ # msg.content = response
66
 
67
  # Send and close the message stream
68
  await msg.send()