A streamlit component, to make a UI for chat messages in Streamlit
Project description
Important note
This is a fork of st-chat that implements functionality to pass in URL links as an avatar, and adjusts some CSS properties of the Streamlit Chat component.
The fork is maintained by @yichern.
Credit goes to the authors @yashppawar & @YashVardhan-AI.
st-talk
Streamlit Component, for a Chat-bot UI, example app
Installation
Install streamlit-talk
with pip
pip install streamlit-talk
usage, import the message
function from streamlit_talk
import streamlit as st
from streamlit_talk import message
message("My message")
message("Hello bot!", is_user=True) # align's the message to the right
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit-talk-0.0.3.tar.gz
(648.1 kB
view hashes)
Built Distribution
streamlit_talk-0.0.3-py3-none-any.whl
(655.7 kB
view hashes)
Close
Hashes for streamlit_talk-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dda14c73a66be68a000fe6352e3721cc014599602bdc5ca56fd0e37a5582f250 |
|
MD5 | 28a780127004be32f825c53f86f56eaa |
|
BLAKE2b-256 | e69edeb44b7cf04a3d8727b2e7f3c9349c38531750bf8732e1c62ae9c3ade681 |