Spaces:
Sleeping
Sleeping
|
Download deployment/README.md from vedanshmathur7/ModelArena: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/spaces/vedanshmathur7/ModelArena/resolve/main/deployment/README.md
- Command line
-
hf download hf://spaces/vedanshmathur7/ModelArena/deployment/README.md
-
curl -L -o README.md https://huggingface.co/spaces/vedanshmathur7/ModelArena/resolve/main/deployment/README.md
632 Bytes
| # Deployment | |
| Docker deployment for Hugging Face Spaces and local containers. | |
| | File | Purpose | | |
| |---|---| | |
| | `Dockerfile` | Python 3.11 image with Ollama + Streamlit on port 7860 | | |
| | `start_space.sh` | Starts `ollama serve`, pulls the OSS model, runs the comparison app | | |
| **Hugging Face Spaces:** the root `Dockerfile` symlinks here so HF can find it at the repo root. | |
| **Local build:** | |
| ```bash | |
| docker build -f deployment/Dockerfile -t ai-assistant-comparison . | |
| docker run -p 7860:7860 --env-file .env ai-assistant-comparison | |
| ``` | |
| Set `OPENAI_API_KEY`, `OPENAI_BASE_URL`, and model env vars as described in the main `README.md`. | |