katuni4ka commited on
Commit
e8dd17a
1 Parent(s): e3f651a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -83,7 +83,7 @@ import openvino_genai as ov_genai
83
 
84
  device = "CPU"
85
  pipe = ov_genai.LLMPipeline(model_path, device)
86
- print(pipe.generate("def print_hello_world():"))
87
  ```
88
 
89
  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)
 
83
 
84
  device = "CPU"
85
  pipe = ov_genai.LLMPipeline(model_path, device)
86
+ print(pipe.generate("def print_hello_world():", max_length=200))
87
  ```
88
 
89
  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)