tombio commited on
Commit
3ee4cf4
1 Parent(s): 0358cfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ import clip
16
  from PIL import Image
17
 
18
  from huggingface_hub import hf_hub_download
19
- ckpt = hf_hub_download(repo_id="lambdalabs/image-mixer", filename="image-mixer-pruned.ckpt")
20
- config = hf_hub_download(repo_id="lambdalabs/image-mixer", filename="image-mixer-config.yaml")
21
 
22
  device = "cuda:0"
23
  model = load_model_from_config(config, ckpt, device=device, verbose=False)
 
16
  from PIL import Image
17
 
18
  from huggingface_hub import hf_hub_download
19
+ ckpt = hf_hub_download(repo_id="lambdalabs/image-mixer", filename="image-mixer-pruned.ckpt", cache_dir="/data/.cache")
20
+ config = hf_hub_download(repo_id="lambdalabs/image-mixer", filename="image-mixer-config.yaml", cache_dir="/data/.cache")
21
 
22
  device = "cuda:0"
23
  model = load_model_from_config(config, ckpt, device=device, verbose=False)