Safetensors
katuni4ka commited on
Commit
1818593
1 Parent(s): ef2458e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -68,11 +68,13 @@ device = "CPU"
68
  pipe = ov_genai.Text2ImagePipeline(model_path, device)
69
 
70
  prompt = "sailing ship in storm by Rembrandt"
71
- image_tensor = pipe.generate(prompt, num_inference_steps=20)
72
  image = Image.fromarray(image_tensor.data[0])
73
 
74
  ```
75
 
 
 
76
  ## Limitations
77
 
78
  Check the original model card for [limitations](https://huggingface.co/runwayml/stable-diffusion-v1-5).
 
68
  pipe = ov_genai.Text2ImagePipeline(model_path, device)
69
 
70
  prompt = "sailing ship in storm by Rembrandt"
71
+ image_tensor = pipe.generate(prompt, num_inference_steps=4)
72
  image = Image.fromarray(image_tensor.data[0])
73
 
74
  ```
75
 
76
+ 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)
77
+
78
  ## Limitations
79
 
80
  Check the original model card for [limitations](https://huggingface.co/runwayml/stable-diffusion-v1-5).