diff --git a/docs/assets/images/panel-chat-examples-card.png b/docs/assets/images/panel-chat-examples-card.png new file mode 100644 index 0000000..0d75159 Binary files /dev/null and b/docs/assets/images/panel-chat-examples-card.png differ diff --git a/overrides/main.html b/overrides/main.html index 8da85aa..0a08642 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -12,13 +12,13 @@ - + - + - - + + {% endblock %} \ No newline at end of file diff --git a/scripts/social_card_app.py b/scripts/social_card_app.py deleted file mode 100644 index 96e26ee..0000000 --- a/scripts/social_card_app.py +++ /dev/null @@ -1,37 +0,0 @@ -""" -Used to create the panel-chat-examples-card-HEIGHTxWIDTH.png cards for social media -""" -import panel as pn - -pn.extension() - -WELCOME = """ - - -
-\ -\ -Panel Chat Examples. -
- -Reference chat apps with accessible source code. - -**holoviz-topics.github.io/panel-chat-examples** -""" - - -async def callback(contents: str, user: str, instance: pn.chat.ChatInterface): - return "" - - -chat_interface = pn.chat.ChatInterface(callback=callback, callback_user="Assistant") -chat_interface.send(WELCOME, user="User", avatar="👩", respond=False) - -chat_interface.servable()