helenai commited on
Commit
1be3c84
1 Parent(s): 9ccb3d5

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("runwayml/stable-diffusion-v1-5")
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 = "runwayml/stable-diffusion-v1-5"
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/runwayml-stable-diffusion-v1-5-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/runwayml-stable-diffusion-v1-5-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()