YepoHz commited on
Commit
687ed84
·
verified ·
1 Parent(s): b61324c

Update scripts/swap.py

Browse files
Files changed (1) hide show
  1. 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="https://github.com/TencentARC/GFPGAN/releases/download/v1.3.8/GFPGANv1.4.pth",
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,