TinyChat is a GUI client for modern Language Models built with simplicity in mind. Its minimalistic Python code is designed for straightforward comprehension and adaptability. More features will likely come, but we are going to do our best to keep it simple.
To reduce magic to a minimum, no official API client is used: it's only just post requests and Server-Sent Events handling. The program only depends on requests, sseclient-py and CustomTkinter.
You can talk with all major models from the OpenAI, Anthropic, Mistral, Meta, Google and Cohere cloud APIs:
https://github.com/pymike00/tinychat/assets/32687496/9610b45f-efd8-4a4a-8b53-5ceb979a29ba
# Clone repo and enter main folder
git clone https://github.com/pymike00/tinychat.git
cd tinychat
# Create Virtual Environment
python -m venv venv
# Activate Virtual Environment
source venv/bin/activate on Linux / Mac OS
.\venv\Scripts\Activate.ps1 on Windows Powershell
# Install requirements
pip install -r requirements.txt
# Run application
python -m tinychat
# Clone repo and enter main folder
git clone https://github.com/pymike00/tinychat.git
cd tinychat
# Create Virtual Environment
python -m venv venv
# Activate Virtual Environment
source venv/bin/activate on Linux / Mac OS
.\venv\Scripts\Activate.ps1 on Windows Powershell
# Install requirements
pip install -r requirements-build.txt
# Run build commands
pyinstaller build.spec
# You should now have a new tinychat executable file in a newly created dist folder