Browse Source

tweak `README.md`

Jeffrey Morgan 1 year ago
parent
commit
0004abf32e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      README.md

+ 5 - 1
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