Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ base_model = "frankjoshua/albedobaseXL_v13"
|
|
51 |
patch_onnx_runtime()
|
52 |
|
53 |
snapshot_download("okaris/antelopev2", local_dir="./models/antelopev2")
|
54 |
-
face_analysis = FaceAnalysis(name='antelopev2', root='./', providers=['
|
55 |
face_analysis.prepare(ctx_id=0, det_size=(640, 640))
|
56 |
|
57 |
dtype = torch.float16
|
|
|
51 |
patch_onnx_runtime()
|
52 |
|
53 |
snapshot_download("okaris/antelopev2", local_dir="./models/antelopev2")
|
54 |
+
face_analysis = FaceAnalysis(name='antelopev2', root='./', providers=['CPUExecutionProvider'])
|
55 |
face_analysis.prepare(ctx_id=0, det_size=(640, 640))
|
56 |
|
57 |
dtype = torch.float16
|