katuni4ka commited on
Commit
034f23d
·
verified ·
1 Parent(s): c0b0759

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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.start_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)
 
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)