Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ model_id = 'RunDiffusion/Juggernaut-XI-v11'
|
|
| 34 |
#base_model_path = Path(model_id)
|
| 35 |
#os.makedirs(base_model_path, exist_ok=True)
|
| 36 |
#snapshot_download(repo_id=model_id, local_dir=base_model_path)
|
| 37 |
-
model_file = hf_hub_download(repo_id=model_id, filename="Juggernaut-XI-byRunDiffusion.safetensors", repo_type="model")
|
| 38 |
|
| 39 |
face_detector = FaceAnalysis2(providers=['CPUExecutionProvider', 'CUDAExecutionProvider'], allowed_modules=['detection', 'recognition'])
|
| 40 |
face_detector.prepare(ctx_id=0, det_size=(640, 640))
|
|
|
|
| 34 |
#base_model_path = Path(model_id)
|
| 35 |
#os.makedirs(base_model_path, exist_ok=True)
|
| 36 |
#snapshot_download(repo_id=model_id, local_dir=base_model_path)
|
| 37 |
+
#model_file = hf_hub_download(repo_id=model_id, filename="Juggernaut-XI-byRunDiffusion.safetensors", repo_type="model")
|
| 38 |
|
| 39 |
face_detector = FaceAnalysis2(providers=['CPUExecutionProvider', 'CUDAExecutionProvider'], allowed_modules=['detection', 'recognition'])
|
| 40 |
face_detector.prepare(ctx_id=0, det_size=(640, 640))
|