https://github.com/andreratzenberger/streamlit-ollama-chat
Simple chat with streamlit + ollama
https://github.com/andreratzenberger/streamlit-ollama-chat
llm ollama streamlit
Last synced: about 2 months ago
JSON representation
Simple chat with streamlit + ollama
- Host: GitHub
- URL: https://github.com/andreratzenberger/streamlit-ollama-chat
- Owner: AndreRatzenberger
- Created: 2024-04-20T18:23:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T18:26:14.000Z (about 2 years ago)
- Last Synced: 2025-04-11T14:15:35.396Z (about 1 year ago)
- Topics: llm, ollama, streamlit
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Streamlit with Ollama Integration

## Overview
This repository contains a simple boilerplate application that integrates Ollama into Streamlit to enable chat functionalities using models provided by Ollama.
The app features a sidebar that allows users to switch between different models provided by Ollama.
## Running the Application
To run this application, use the following command:
```bash
streamlit run main.py
```
This will start the Streamlit server locally and open the application in your default web browser.
## Requirements
This application requires the following Python packages:
- ollama==0.1.8 [Github](https://github.com/ollama/ollama-python) | [web](https://ollama.com/)
- streamlit==1.33.0 [Github](https://github.com/streamlit/streamlit) | [web](https://streamlit.io/)
You can install these packages using pip:
```bash
pip install ollama==0.1.8 streamlit==1.33.0
```