A lightweight Streamlit app for chatting with custom LLMs, simple to run and easy to extend.
- Create
~/.streamlit/config.tomlwith 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. source-me.sh
streamlit run llm-chat.py