update chainlit app
Browse files
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 |
-
|
|
|
|
|
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__":
|