mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +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
|
||||
|
||||
```
|
||||
```python
|
||||
models = ollama.models()
|
||||
```
|
||||
|
||||
@@ -65,6 +65,10 @@ models = ollama.models()
|
||||
|
||||
Serve the ollama http server
|
||||
|
||||
```
|
||||
ollama.serve()
|
||||
```
|
||||
|
||||
### `ollama.add(filepath)`
|
||||
|
||||
Add a model by importing from a file
|
||||
|
||||
Reference in New Issue
Block a user