fix1.4
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -18,7 +18,7 @@ class EndpointHandler:
|
|
| 18 |
# ------------------------------
|
| 19 |
# Download GFPGAN v1.4 weights
|
| 20 |
# ------------------------------
|
| 21 |
-
self.model_url = "https://github.com/TencentARC/GFPGAN/releases/download/v1.
|
| 22 |
self.model_path = os.path.join(path, "GFPGANv1.4.pth")
|
| 23 |
if not os.path.exists(self.model_path):
|
| 24 |
print(f"📥 [DOWNLOAD] Fetching GFPGAN v1.4 weights...")
|
|
|
|
| 18 |
# ------------------------------
|
| 19 |
# Download GFPGAN v1.4 weights
|
| 20 |
# ------------------------------
|
| 21 |
+
self.model_url = "https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth"
|
| 22 |
self.model_path = os.path.join(path, "GFPGANv1.4.pth")
|
| 23 |
if not os.path.exists(self.model_path):
|
| 24 |
print(f"📥 [DOWNLOAD] Fetching GFPGAN v1.4 weights...")
|