lakshyaag commited on
Commit
7a67e15
·
1 Parent(s): b644180

update chainlit app

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -100,7 +100,9 @@ async def main(message: cl.Message):
100
  # return only the generated response (not the prompt) as output
101
  response = decoded_output[0].split("<|end_header_id|>")[-1]
102
 
103
- await message.reply(response)
 
 
104
 
105
 
106
  if __name__ == "__main__":
 
100
  # return only the generated response (not the prompt) as output
101
  response = decoded_output[0].split("<|end_header_id|>")[-1]
102
 
103
+ msg = cl.Message(content=response)
104
+
105
+ await msg.send()
106
 
107
 
108
  if __name__ == "__main__":