va1 commited on
Commit
4afb079
·
verified ·
1 Parent(s): 57d8562

Update inference_realesrgan.py

Browse files
Files changed (1) hide show
  1. inference_realesrgan.py +1 -1
inference_realesrgan.py CHANGED
@@ -15,7 +15,7 @@ if not os.path.exists(MODEL_PATH):
15
 
16
  # 🚀 Fix: Manually load the ESRGAN model without requiring 'realesrgan' package
17
  from torch.hub import load_state_dict_from_url
18
- model_url = "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth"
19
 
20
  # Load weights if missing
21
  if not os.path.exists(MODEL_PATH):
 
15
 
16
  # 🚀 Fix: Manually load the ESRGAN model without requiring 'realesrgan' package
17
  from torch.hub import load_state_dict_from_url
18
+ model_url = "https://huggingface.co/va1/CViT-Deepfake-Model/resolve/main/RealESRGAN_x4plus.pth"
19
 
20
  # Load weights if missing
21
  if not os.path.exists(MODEL_PATH):