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.1.4.tar.gz
(691.8 kB
view hashes)
Built Distribution
streamlit_talk-0.1.4-py3-none-any.whl
(699.8 kB
view hashes)
Close
Hashes for streamlit_talk-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ed3a38f46277881e5daaa4302b5a490cb68f7dc33a7af4388f3ee1d05ba724 |
|
MD5 | c36e20fa9d32d51bd2ec911be8c183cd |
|
BLAKE2b-256 | 1b2aca5e754d76db415fcc2038dbee01528360e38f4c261c2cb7d13195bde4d3 |