Spaces:
Running
on
L40S
Running
on
L40S
Update memo/utils/vision_utils.py
Browse files
memo/utils/vision_utils.py
CHANGED
@@ -65,7 +65,7 @@ def preprocess_image(face_analysis_model: str, image_path: str, image_size: int
|
|
65 |
|
66 |
# Initialize the FaceAnalysis model
|
67 |
face_analysis = FaceAnalysis(
|
68 |
-
|
69 |
root=face_analysis_model,
|
70 |
providers=["CUDAExecutionProvider", "CPUExecutionProvider"],
|
71 |
)
|
|
|
65 |
|
66 |
# Initialize the FaceAnalysis model
|
67 |
face_analysis = FaceAnalysis(
|
68 |
+
# name='',
|
69 |
root=face_analysis_model,
|
70 |
providers=["CUDAExecutionProvider", "CPUExecutionProvider"],
|
71 |
)
|