diff --git a/README.md b/README.md index c8f31e18..0b03bf61 100644 --- a/README.md +++ b/README.md @@ -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