Update README.md
Browse files
README.md
CHANGED
@@ -71,7 +71,7 @@ import openvino_genai as ov_genai
|
|
71 |
|
72 |
device = "CPU"
|
73 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
74 |
-
print(pipe.generate("What is OpenVINO?"))
|
75 |
```
|
76 |
|
77 |
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)
|
|
|
71 |
|
72 |
device = "CPU"
|
73 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
74 |
+
print(pipe.generate("What is OpenVINO?", max_length=200))
|
75 |
```
|
76 |
|
77 |
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)
|