model2 commited on
Commit
afe2486
·
1 Parent(s): 860ae1a

fix preloading

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -40,10 +40,25 @@ hf_hub_download(
40
  local_dir="models/facerestore_models",
41
  )
42
  hf_hub_download(
43
- repo_id="darkeril/collection",
44
  filename="detection_Resnet50_Final.pth",
45
  local_dir="models/facedetection",
46
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  hf_hub_download(
48
  repo_id="model2/advance_face_model",
49
  filename="advance_face_model.safetensors",
 
40
  local_dir="models/facerestore_models",
41
  )
42
  hf_hub_download(
43
+ repo_id="gmk123/GFPGAN",
44
  filename="detection_Resnet50_Final.pth",
45
  local_dir="models/facedetection",
46
  )
47
+ hf_hub_download(
48
+ repo_id="gmk123/GFPGAN",
49
+ filename="parsing_parsenet.pth",
50
+ local_dir="models/facedetection",
51
+ )
52
+ hf_hub_download(
53
+ repo_id="vladmandic/insightface-faceanalysis",
54
+ filename="buffalo_l.zip",
55
+ local_dir="models/insightface/models",
56
+ )
57
+ hf_hub_download(
58
+ repo_id="AdamCodd/vit-base-nsfw-detector",
59
+ filename="model.safetensors",
60
+ local_dir="models/nsfw_detector/vit-base-nsfw-detector",
61
+ )
62
  hf_hub_download(
63
  repo_id="model2/advance_face_model",
64
  filename="advance_face_model.safetensors",