Update README.md
Browse files
README.md
CHANGED
@@ -81,7 +81,7 @@ import openvino_genai as ov_genai
|
|
81 |
|
82 |
device = "CPU"
|
83 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
84 |
-
print(pipe.generate("What is OpenVINO?"))
|
85 |
```
|
86 |
|
87 |
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)
|
|
|
81 |
|
82 |
device = "CPU"
|
83 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
84 |
+
print(pipe.generate("What is OpenVINO?", max_length=200)))
|
85 |
```
|
86 |
|
87 |
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)
|