Vsevolod commited on
Commit
ada72f1
1 Parent(s): 593105a
Files changed (1) hide show
  1. app.py +2 -2
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 = '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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`.
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`.