Skip to main content

A streamlit component, to make chat ui messages

Project description

st-message

Streamlit Component, for a UI Message, Chat component

authors - @gamcoh

Installation

Install streamlit-message with pip

pip install streamlit-message 

usage, import the message function from streamlit_message

import streamlit as st
from streamlit_message import message

message("My message") 
message("Hello World!", is_user=True)  # align's the message to the right

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-message-0.0.1.tar.gz (649.2 kB view hashes)

Uploaded source

Built Distribution

streamlit_message-0.0.1-py3-none-any.whl (657.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page