SAUL19 commited on
Commit
a1195f3
·
1 Parent(s): e2cc4e8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -21,7 +21,7 @@ model_id = "CompVis/stable-diffusion-v1-4"
21
  device = "cuda" if torch.cuda.is_available() else "cpu"
22
 
23
  pipe = StableDiffusionPipeline.from_pretrained(
24
- model_id, torch_dtype=torch.float32, cache_dir="/cache/"
25
  )
26
 
27
  # MOdel 1.0
 
21
  device = "cuda" if torch.cuda.is_available() else "cpu"
22
 
23
  pipe = StableDiffusionPipeline.from_pretrained(
24
+ model_id, torch_dtype=torch.float32, cache_dir="./cache"
25
  )
26
 
27
  # MOdel 1.0