Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ pip install optimum[openvino]
|
|
34 |
from optimum.intel.openvino import OVDiffusionPipeline
|
35 |
|
36 |
model_id = "OpenVINO/LCM_Dreamshaper_v7-fp16-ov"
|
37 |
-
pipeline =
|
38 |
|
39 |
prompt = "sailing ship in storm by Rembrandt"
|
40 |
images = pipeline(prompt, num_inference_steps=4).images
|
|
|
34 |
from optimum.intel.openvino import OVDiffusionPipeline
|
35 |
|
36 |
model_id = "OpenVINO/LCM_Dreamshaper_v7-fp16-ov"
|
37 |
+
pipeline = OVDiffusionPipeline.from_pretrained(model_id)
|
38 |
|
39 |
prompt = "sailing ship in storm by Rembrandt"
|
40 |
images = pipeline(prompt, num_inference_steps=4).images
|