Update scripts/swap.py
Browse files- scripts/swap.py +1 -1
scripts/swap.py
CHANGED
|
@@ -22,7 +22,7 @@ def setup_models(execution_provider="cpu"):
|
|
| 22 |
|
| 23 |
if enhancer is None:
|
| 24 |
enhancer = GFPGANer(
|
| 25 |
-
model_path="
|
| 26 |
upscale=1,
|
| 27 |
arch="clean",
|
| 28 |
channel_multiplier=2,
|
|
|
|
| 22 |
|
| 23 |
if enhancer is None:
|
| 24 |
enhancer = GFPGANer(
|
| 25 |
+
model_path="gfpgan/weights/GFPGANv1.4.pth", # ✅ Ruta local, sin descargar
|
| 26 |
upscale=1,
|
| 27 |
arch="clean",
|
| 28 |
channel_multiplier=2,
|