AILanguageCompanion / app_chainlit-1st.py
koura718's picture
Add chainlit
0323a5f
raw
history blame contribute delete
235 Bytes
import chainlit as cl
@cl.on_message
async def main(message: cl.Message):
# Your custom logic goes here...
# Send a response back to the user
await cl.Message(
content=f"Received: {message.content}",
).send()