simplify loading

This commit is contained in:
Bruce MacDonald
2023-06-27 14:50:23 -04:00
parent 3b4f45f6bf
commit ecfb4abafb
5 changed files with 40 additions and 40 deletions

View File

@@ -10,7 +10,7 @@ Install dependencies:
pip install -r requirements.txt
```
Put your model in `models/` and run:
Run a server:
```
python3 ollama.py serve
@@ -19,17 +19,18 @@ python3 ollama.py serve
**Start frontend service:**
Install dependencies:
```
cd desktop
npm install
```
Run the UI:
Run the UI:
```
npm start
```
## Building
If using Apple silicon, you need a Python version that supports arm64:
@@ -57,3 +58,11 @@ python3 build.py
cd desktop
npm run package
```
## Update requirements.txt
In the root directory, run:
```
pipreqs . --force
```