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
질문됨 5달 전45회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠