Spaces:
Sleeping
Sleeping
Update method.py
Browse files
method.py
CHANGED
|
@@ -13,6 +13,8 @@ from deepface import DeepFace
|
|
| 13 |
from transformers import CLIPModel, CLIPProcessor, CLIPTokenizerFast
|
| 14 |
|
| 15 |
|
|
|
|
|
|
|
| 16 |
MODEL_ID = "openai/clip-vit-base-patch32"
|
| 17 |
|
| 18 |
tokenizer = CLIPTokenizerFast.from_pretrained(MODEL_ID)
|
|
|
|
| 13 |
from transformers import CLIPModel, CLIPProcessor, CLIPTokenizerFast
|
| 14 |
|
| 15 |
|
| 16 |
+
detectors = ["opencv", "ssd", "mtcnn", "dlib", "retinaface"]
|
| 17 |
+
|
| 18 |
MODEL_ID = "openai/clip-vit-base-patch32"
|
| 19 |
|
| 20 |
tokenizer = CLIPTokenizerFast.from_pretrained(MODEL_ID)
|