machinesarenotpeople commited on
Commit
23cd458
1 Parent(s): e4bc1c3

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ USER_TOKEN=os.environ.get('HF_TOKEN_SD')
18
  #1.5
19
  #model_id = "runwayml/stable-diffusion-v1-5"
20
  #pipe = StableDiffusionImg2ImgPipeline.from_pretrained(model_id, torch_dtype=torch.float16, revision="fp16", use_auth_token = USER_TOKEN)
21
- pipe = StableDiffusionImg2ImgPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype = "auto", use_auth_token = USER_TOKEN)
22
 
23
  pipe.to(device)
24
 
 
18
  #1.5
19
  #model_id = "runwayml/stable-diffusion-v1-5"
20
  #pipe = StableDiffusionImg2ImgPipeline.from_pretrained(model_id, torch_dtype=torch.float16, revision="fp16", use_auth_token = USER_TOKEN)
21
+ pipe = StableDiffusionImg2ImgPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_auth_token = USER_TOKEN)
22
 
23
  pipe.to(device)
24