fomext commited on
Commit
bf480f1
·
verified ·
1 Parent(s): 93564af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -47,7 +47,7 @@ upscaler = RealESRGANer(
47
 
48
  # GFPGAN
49
  gfpgan = GFPGANer(
50
- model_path=None,
51
  upscale=1,
52
  arch="clean",
53
  channel_multiplier=2,
@@ -55,6 +55,7 @@ gfpgan = GFPGANer(
55
  )
56
 
57
 
 
58
  # Stable Diffusion Img2Img
59
  dtype = torch.float16 if DEVICE == "cuda" else torch.float32
60
 
 
47
 
48
  # GFPGAN
49
  gfpgan = GFPGANer(
50
+ model_path="https://github.com/TencentARC/GFPGAN/releases/download/v1.3.4/GFPGANv1.4.pth",
51
  upscale=1,
52
  arch="clean",
53
  channel_multiplier=2,
 
55
  )
56
 
57
 
58
+
59
  # Stable Diffusion Img2Img
60
  dtype = torch.float16 if DEVICE == "cuda" else torch.float32
61