sharpenb commited on
Commit
a42cb8e
1 Parent(s): ea9f9b3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -40,7 +40,7 @@ from transformers.utils.hub import cached_file
40
  from pruna_engine.PrunaModel import PrunaModel # Step (1): install and import `pruna-engine` package.
41
 
42
  ...
43
- model_path = cached_file("PrunaAI/REPO", "model") # Step (2): download the model files at `model_path`.
44
  smashed_model = PrunaModel.load_model(model_path) # Step (3): load the model.
45
  y = smashed_model(prompt="a photo of an astronaut riding a horse on mars", image_height=768, image_width=768)[0] # Step (4): run the model.
46
  ```
 
40
  from pruna_engine.PrunaModel import PrunaModel # Step (1): install and import `pruna-engine` package.
41
 
42
  ...
43
+ model_path = cached_file("PrunaAI/stabilityai-stable-diffusion-2-1-base-smashed", "model") # Step (2): download the model files at `model_path`.
44
  smashed_model = PrunaModel.load_model(model_path) # Step (3): load the model.
45
  y = smashed_model(prompt="a photo of an astronaut riding a horse on mars", image_height=768, image_width=768)[0] # Step (4): run the model.
46
  ```