Wootang01 commited on
Commit
c8764ab
·
1 Parent(s): a25093c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,10 +16,10 @@ YOUR_TOKEN=MY_SECRET_TOKEN
16
 
17
  device="cpu"
18
 
19
- #prompt_pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
20
  #prompt_pipe.to(device)
21
 
22
- img_pipe = StableDiffusionImg2ImgPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
23
  img_pipe.to(device)
24
 
25
  source_img = gr.Image(source="upload", type="filepath", label="init_img | 512*512 px")
 
16
 
17
  device="cpu"
18
 
19
+ #prompt_pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_auth_token=YOUR_TOKEN)
20
  #prompt_pipe.to(device)
21
 
22
+ img_pipe = StableDiffusionImg2ImgPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_auth_token=YOUR_TOKEN)
23
  img_pipe.to(device)
24
 
25
  source_img = gr.Image(source="upload", type="filepath", label="init_img | 512*512 px")