Skip to content

A lightweight Streamlit app for chatting with custom LLMs, simple to run and easy to extend.

License

Notifications You must be signed in to change notification settings

etesami/chatterlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatterlit

A lightweight Streamlit app for chatting with custom LLMs, simple to run and easy to extend.

Prerequisites

  • Create ~/.streamlit/config.toml with content (adjust paths according to your environment):
[server]
port = 8501
sslCertFile = '~/streamlit/keys/fullchain.pem'
sslKeyFile = '~/streamlit/keys/privkey.pem'

[browser]
gatherUsageStats = false
  • Enable password access with ~/.streamlit/secret.toml:
[auth]
password = "MYCOMPLExPASS"
  • Place your API keys in the file source-me.sh
  • Enable python virtual environment:
python3 -mvenv ~/venv/streamlit
source ~/venv/streamlit/bin/activate
# Install streamlit
pip install streamlit

Run

. source-me.sh
streamlit run llm-chat.py

About

A lightweight Streamlit app for chatting with custom LLMs, simple to run and easy to extend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published