Update README.md
Browse files
README.md
CHANGED
@@ -79,7 +79,7 @@ import openvino_genai as ov_genai
|
|
79 |
|
80 |
device = "CPU"
|
81 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
82 |
-
print(pipe.generate("def hello_world():"))
|
83 |
```
|
84 |
|
85 |
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)
|
|
|
79 |
|
80 |
device = "CPU"
|
81 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
82 |
+
print(pipe.generate("def hello_world():", max_length=200))
|
83 |
```
|
84 |
|
85 |
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)
|