Spaces:
Running
on
Zero
Running
on
Zero
fix preloading
Browse files
app.py
CHANGED
|
@@ -40,10 +40,25 @@ hf_hub_download(
|
|
| 40 |
local_dir="models/facerestore_models",
|
| 41 |
)
|
| 42 |
hf_hub_download(
|
| 43 |
-
repo_id="
|
| 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",
|