helenai commited on
Commit
908ff83
1 Parent(s): b0d88f1

commit files to HF hub

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -27,7 +27,7 @@ model from the Hugging Face hub (if it has not been downloaded before) and loads
27
  ```python
28
  from optimum.intel.openvino import OVStableDiffusionPipeline
29
 
30
- stable_diffusion = OVStableDiffusionPipeline.from_pretrained("naclbit/trinart_stable_diffusion_v2")
31
  images = stable_diffusion("a random image").images
32
  ```
33
 
@@ -49,7 +49,7 @@ height = 256
49
  width = 256
50
 
51
  # load the model and reshape to static shapes for faster inference
52
- model_id = "naclbit/trinart_stable_diffusion_v2"
53
  stable_diffusion = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
54
  stable_diffusion.reshape( batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images_per_prompt)
55
  stable_diffusion.compile()
 
27
  ```python
28
  from optimum.intel.openvino import OVStableDiffusionPipeline
29
 
30
+ stable_diffusion = OVStableDiffusionPipeline.from_pretrained("helenai/naclbit-trinart_stable_diffusion_v2-ov")
31
  images = stable_diffusion("a random image").images
32
  ```
33
 
 
49
  width = 256
50
 
51
  # load the model and reshape to static shapes for faster inference
52
+ model_id = "helenai/naclbit-trinart_stable_diffusion_v2-ov"
53
  stable_diffusion = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
54
  stable_diffusion.reshape( batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images_per_prompt)
55
  stable_diffusion.compile()