hotfix3
Browse files
app.py
CHANGED
@@ -10,9 +10,9 @@ device = "cpu"#"cuda"
|
|
10 |
model_id_or_path = "CompVis/stable-diffusion-v1-4"
|
11 |
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
|
12 |
model_id_or_path,
|
13 |
-
revision = "fp16",
|
14 |
torch_dtype = torch.float32, #torch.float16,
|
15 |
-
use_auth_token = '
|
16 |
)
|
17 |
# or download via git clone https://huggingface.co/CompVis/stable-diffusion-v1-4
|
18 |
# and pass `model_id_or_path="./stable-diffusion-v1-4"` without having to use `use_auth_token=True`.
|
|
|
10 |
model_id_or_path = "CompVis/stable-diffusion-v1-4"
|
11 |
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
|
12 |
model_id_or_path,
|
13 |
+
revision = "fp16",
|
14 |
torch_dtype = torch.float32, #torch.float16,
|
15 |
+
use_auth_token = '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'
|
16 |
)
|
17 |
# or download via git clone https://huggingface.co/CompVis/stable-diffusion-v1-4
|
18 |
# and pass `model_id_or_path="./stable-diffusion-v1-4"` without having to use `use_auth_token=True`.
|