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.2.1.tar.gz
(691.8 kB
view details)
File details
Details for the file streamlit-talk-0.2.1.tar.gz
.
File metadata
- Download URL: streamlit-talk-0.2.1.tar.gz
- Upload date:
- Size: 691.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af94234446cc3f6955dfe91232195012e49ca3f68c50f410f77ca332ca948f3e |
|
MD5 | 0701decd3a9ae33b7e8d031b6d6e0a9c |
|
BLAKE2b-256 | 075bcbbc02ddbcd54c68677b83974f4cda6336855e5c9fe1407d41be05b5dcf9 |