helenai commited on
Commit
8b80056
1 Parent(s): d4198e4

commit files to HF hub

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -37,7 +37,7 @@ model from the Hugging Face hub (if it has not been downloaded before) and loads
37
  ```python
38
  from optimum.intel.openvino import OVStableDiffusionPipeline
39
 
40
- stable_diffusion = OVStableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
41
  images = stable_diffusion("a random image").images
42
  ```
43
 
@@ -59,7 +59,7 @@ height = 256
59
  width = 256
60
 
61
  # load the model and reshape to static shapes for faster inference
62
- model_id = "CompVis/stable-diffusion-v1-4"
63
  stable_diffusion = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
64
  stable_diffusion.reshape( batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images_per_prompt)
65
  stable_diffusion.compile()
 
37
  ```python
38
  from optimum.intel.openvino import OVStableDiffusionPipeline
39
 
40
+ stable_diffusion = OVStableDiffusionPipeline.from_pretrained("helenai/CompVis-stable-diffusion-v1-4-ov")
41
  images = stable_diffusion("a random image").images
42
  ```
43
 
 
59
  width = 256
60
 
61
  # load the model and reshape to static shapes for faster inference
62
+ model_id = "helenai/CompVis-stable-diffusion-v1-4-ov"
63
  stable_diffusion = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
64
  stable_diffusion.reshape( batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images_per_prompt)
65
  stable_diffusion.compile()