Browse Source

tweak `README.md`

Jeffrey Morgan 1 năm trước cách đây
mục cha
commit
0004abf32e
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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