how do I launch this repo
- User
how do I launch this repo
Assistant
Based on the provided files, here's how you can launch the Open WebUI repository, with different options:
1. Using
pip(Python Package Installer):- Make sure you have Python 3.11 installed.
- Install the package:
bash
pip install open-webui - Run the server:
bash
open-webui serve - Access the WebUI at
http://localhost:8080
2. Using Docker (Quick Start):
- Important: When using Docker, include
-v open-webui:/app/backend/datain your command to persist data. - With [Redacted Person] on the same machine:
bash
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main - With Ollama on a different server (replace
https://example.comwith your Ollama server's URL):bashdocker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://example.com -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main - With NVIDIA GPU support:
bash
docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda - Using only OpenAI API (replace
your_secret_keywith your actual OpenAI API key):bashdocker run -d -p 3000:8080 -e OPENAI_API_KEY=your_secret_key -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.