From d5b1cc60fa538a4bf0ec7fe80f2557a35b86a064 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Fri, 22 Dec 2023 11:50:21 -0800 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0183092..ec7801c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ for part in ollama.chat(model='llama2', messages=[message], stream=True): ``` -### Using the Synchronous Client +## Using the Synchronous Client ```python from ollama import Client @@ -42,7 +42,7 @@ for part in Client().chat(model='llama2', messages=[message], stream=True): print(part['message']['content'], end='', flush=True) ``` -### Using the Asynchronous Client +## Using the Asynchronous Client ```python import asyncio