Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ token = os.environ['token']
|
|
20 |
|
21 |
retina_repo = Repository(local_dir="retina_models", clone_from="felixrosberg/RetinaFace")
|
22 |
|
23 |
-
from
|
24 |
|
25 |
RetinaFace = load_model("retina_models/RetinaFace-Res50.h5",
|
26 |
custom_objects={"FPN": FPN,
|
|
|
20 |
|
21 |
retina_repo = Repository(local_dir="retina_models", clone_from="felixrosberg/RetinaFace")
|
22 |
|
23 |
+
from retinaface.models import *
|
24 |
|
25 |
RetinaFace = load_model("retina_models/RetinaFace-Res50.h5",
|
26 |
custom_objects={"FPN": FPN,
|