Spaces:
Runtime error
Runtime error
fix app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def age_predict(photo):
|
|
14 |
# Model for Age detection
|
15 |
age_weights = "age_deploy.prototxt"
|
16 |
age_config = "age_net.caffemodel"
|
17 |
-
age_Net = cv2.dnn.
|
18 |
|
19 |
|
20 |
# Model requirements for image
|
|
|
14 |
# Model for Age detection
|
15 |
age_weights = "age_deploy.prototxt"
|
16 |
age_config = "age_net.caffemodel"
|
17 |
+
age_Net = cv2.dnn.readNetFromCaffe(age_config, age_weights)
|
18 |
|
19 |
|
20 |
# Model requirements for image
|