mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
tweak README.md
This commit is contained in:
@@ -57,7 +57,7 @@ ollama.generate("./llama-7b-ggml.bin", "hi")
|
|||||||
|
|
||||||
List available local models
|
List available local models
|
||||||
|
|
||||||
```
|
```python
|
||||||
models = ollama.models()
|
models = ollama.models()
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -65,6 +65,10 @@ models = ollama.models()
|
|||||||
|
|
||||||
Serve the ollama http server
|
Serve the ollama http server
|
||||||
|
|
||||||
|
```
|
||||||
|
ollama.serve()
|
||||||
|
```
|
||||||
|
|
||||||
### `ollama.add(filepath)`
|
### `ollama.add(filepath)`
|
||||||
|
|
||||||
Add a model by importing from a file
|
Add a model by importing from a file
|
||||||
|
|||||||
Reference in New Issue
Block a user