johnrachwanpruna
commited on
Commit
•
a00f190
1
Parent(s):
77508ae
Update README.md
Browse files
README.md
CHANGED
@@ -44,8 +44,8 @@ You can achieve this by running the following code:
|
|
44 |
```python
|
45 |
from pruna_engine.PrunaModel import PrunaModel # Step (1): install and import `pruna-engine` package.
|
46 |
|
47 |
-
model_path = "
|
48 |
-
smashed_model = PrunaModel.load_model(
|
49 |
smashed_model("Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", num_inference_steps=4)[0] # Step (4): run the model.
|
50 |
```
|
51 |
|
|
|
44 |
```python
|
45 |
from pruna_engine.PrunaModel import PrunaModel # Step (1): install and import `pruna-engine` package.
|
46 |
|
47 |
+
model_path = "SimianLuo-LCM_Dreamshaper_v7-smashed/model" # Step (2): specify the downloaded model path.
|
48 |
+
smashed_model = PrunaModel.load_model(model_path) # Step (3): load the model.
|
49 |
smashed_model("Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", num_inference_steps=4)[0] # Step (4): run the model.
|
50 |
```
|
51 |
|