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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ