Skip to main content

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


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.0.tar.gz (691.7 kB view details)

Uploaded Source

File details

Details for the file streamlit-talk-0.2.0.tar.gz.

File metadata

  • Download URL: streamlit-talk-0.2.0.tar.gz
  • Upload date:
  • Size: 691.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for streamlit-talk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 514ff95482137dbd5d9f5372730d6f5c2faa992eb82826b101c40c9d58e34a61
MD5 1cf45b8217cec40c053b08cdcf50f354
BLAKE2b-256 98fce8a382783d5e143d4dbf84d3a88571065a24d3676ed7d1d1da49b5547e2b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page