mirror of
https://github.com/ollama/ollama.git
synced 2025-07-28 18:03:05 +02:00
simplify loading
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user