Myogyi commited on
Commit
1b5862c
1 Parent(s): b36970b

Update detect.py

Browse files
Files changed (1) hide show
  1. detect.py +1 -1
detect.py CHANGED
@@ -120,7 +120,7 @@ def detect(save_img=False):
120
  inputs = cropped_img_tensor.unsqueeze(0)
121
 
122
  # Load EDSR model with scale 2
123
- edsr_model = EdsrModel.from_pretrained('eugenesiow/edsr-base', scale=4)
124
 
125
  # Perform super-resolution on the cropped image
126
  preds = edsr_model(inputs)
 
120
  inputs = cropped_img_tensor.unsqueeze(0)
121
 
122
  # Load EDSR model with scale 2
123
+ edsr_model = EdsrModel.from_pretrained('eugenesiow/drln-bam', scale=2)
124
 
125
  # Perform super-resolution on the cropped image
126
  preds = edsr_model(inputs)