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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南