Spaces:
Running
A newer version of the Streamlit SDK is available: 1.57.0
title: SimpleChatbot
emoji: π€
colorFrom: purple
colorTo: pink
sdk: streamlit
sdk_version: 1.31.1
app_file: app.py
pinned: false
license: mit
models:
- openai/gpt-oss-120b
- mistralai/Mistral-7B-Instruct-v0.2
- google/gemma-3-27b-it
- google/gemma-2-27b-it
- google/gemma-2-9b-it
- google/gemma-2-2b-it
- HuggingFaceH4/zephyr-7b-gemma-v0.1
- HuggingFaceH4/zephyr-7b-beta
- meta-llama/Meta-Llama-3-8B-Instruct
- meta-llama/Meta-Llama-3.1-8B-Instruct
- deepseek-ai/DeepSeek-R1-Distill-Llama-70B
- Qwen/Qwen2.5-Coder-32B-Instruct
- moonshotai/Kimi-K2-Instruct
π€ SimpleChatbot
SimpleChatbot is a lightweight Streamlit app that lets you chat with multiple large language models (LLMs) from a single interface. Itβs built as a simple, interactive way to explore and compare different models without switching tools or setups.
β¨ Features
- Chat with multiple LLMs from one UI
- Switch models on the fly (conversation resets automatically)
- Adjustable temperature for response creativity
- Built-in rate limiting & cooldowns for fair usage
- Optional Hugging Face access token support
- Session-based logging and usage tracking
- Clean, minimal Streamlit interface
π§ Supported Models
This app supports a mix of general-purpose, reasoning, and coding-focused models, including:
- OpenAI GPT-OSS-120B
- Meta Llama 3 / 3.1
- Google Gemma (2 & 3 series)
- DeepSeek R1 (distilled)
- Qwen 2.5 Coder
- Kimi-K2 Instruct
- Zephyr & Mistral variants
Available models may change depending on backend availability.
π― Why This Exists
This project was built to:
- Quickly compare LLM behavior across different model families
- Provide a simple reference implementation for multi-model chat apps
- Demonstrate how to build a Streamlit chatbot using modern inference APIs
- Serve as a lightweight demo for experimentation, education, and prototyping
It intentionally avoids complex agent logic or tooling to keep the focus on model responses and UX.
π How to Use
- Select a model client in the sidebar
- Choose a model
- Adjust the temperature if desired
- Start chatting!
Responses are intentionally kept brief to keep interactions fast and readable.
β οΈ Notes
- Generated content may be inaccurate or incorrect
- API calls are limited per session to prevent abuse
- If a model fails, it may be temporarily unavailable or updating
π€ Author
Created by Nigel Gebodh
π https://ngebodh.github.io/
Learn how to build this chatbot yourself:
π https://ngebodh.github.io/projects/2024-03-05/