madebyollin
commited on
Commit
•
8185317
1
Parent(s):
cf4db73
Update README.md
Browse files
README.md
CHANGED
@@ -38,8 +38,6 @@ I've only tested Stable Cascade with this particular version of the PR:
|
|
38 |
pip install --upgrade --force-reinstall https://github.com/kashif/diffusers/archive/a3dc21385b7386beb3dab3a9845962ede6765887.zip
|
39 |
```
|
40 |
|
41 |
-
TODO: verify this particular sample code works
|
42 |
-
|
43 |
```py
|
44 |
import torch
|
45 |
device = "cuda"
|
@@ -59,7 +57,7 @@ decoder = StableCascadeDecoderPipeline.from_pretrained("stabilityai/stable-casca
|
|
59 |
# Swap in the Stage-A-ft-HQ model
|
60 |
decoder.vqgan = stage_a_ft_hq
|
61 |
|
62 |
-
prompt = "
|
63 |
negative_prompt = ""
|
64 |
|
65 |
prior_output = prior(
|
|
|
38 |
pip install --upgrade --force-reinstall https://github.com/kashif/diffusers/archive/a3dc21385b7386beb3dab3a9845962ede6765887.zip
|
39 |
```
|
40 |
|
|
|
|
|
41 |
```py
|
42 |
import torch
|
43 |
device = "cuda"
|
|
|
57 |
# Swap in the Stage-A-ft-HQ model
|
58 |
decoder.vqgan = stage_a_ft_hq
|
59 |
|
60 |
+
prompt = "Photograph of Seattle streets on a snowy winter morning"
|
61 |
negative_prompt = ""
|
62 |
|
63 |
prior_output = prior(
|