own token
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
|
|
| 12 |
model_id_or_path,
|
| 13 |
revision = "fp32", #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`.
|
|
|
|
| 12 |
model_id_or_path,
|
| 13 |
revision = "fp32", #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`.
|