From 0004abf32e9113127ec77bb5a7803252c41efc53 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 28 Jun 2023 10:57:18 -0400 Subject: [PATCH] tweak `README.md` --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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