Chainlit is not working

0
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()

sagemaker-user@default:~/chatbot2$ chainlit run app.py 2024-01-02 11:35:55 - Your app is available at http://localhost:8000

It is not running in sagemaker lab

Dipika
asked 4 months ago43 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions