Update README.md
Browse files
README.md
CHANGED
@@ -124,7 +124,7 @@ def streamer(subword: str) -> bool:
|
|
124 |
|
125 |
pipe.start_chat()
|
126 |
output = pipe.generate(prompt, image=image_tensor, max_new_tokens=100, streamer=streamer)
|
127 |
-
pipe.
|
128 |
```
|
129 |
|
130 |
More GenAI usage examples can be found in OpenVINO GenAI library [docs](https://github.com/openvinotoolkit/openvino.genai/blob/master/src/README.md) and [samples](https://github.com/openvinotoolkit/openvino.genai?tab=readme-ov-file#openvino-genai-samples)
|
|
|
124 |
|
125 |
pipe.start_chat()
|
126 |
output = pipe.generate(prompt, image=image_tensor, max_new_tokens=100, streamer=streamer)
|
127 |
+
pipe.finish_chat()
|
128 |
```
|
129 |
|
130 |
More GenAI usage examples can be found in OpenVINO GenAI library [docs](https://github.com/openvinotoolkit/openvino.genai/blob/master/src/README.md) and [samples](https://github.com/openvinotoolkit/openvino.genai?tab=readme-ov-file#openvino-genai-samples)
|