浏览代码

tweak `README.md`

Jeffrey Morgan 1 年之前
父节点
当前提交
0004abf32e
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -57,7 +57,7 @@ ollama.generate("./llama-7b-ggml.bin", "hi")
 
 
 List available local models
 List available local models
 
 
-```
+```python
 models = ollama.models()
 models = ollama.models()
 ```
 ```
 
 
@@ -65,6 +65,10 @@ models = ollama.models()
 
 
 Serve the ollama http server
 Serve the ollama http server
 
 
+```
+ollama.serve()
+```
+
 ### `ollama.add(filepath)`
 ### `ollama.add(filepath)`
 
 
 Add a model by importing from a file
 Add a model by importing from a file