Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def load_torch_image(fname):
16
  def inference(file1,file2):
17
  fname1 = file1.name
18
  fname2 = file2.name
19
- img1 = load_torch_image(im1re)
20
- img2 = load_torch_image(im2re)
21
 
22
  matcher = KF.LoFTR(pretrained='outdoor')
23
 
 
16
  def inference(file1,file2):
17
  fname1 = file1.name
18
  fname2 = file2.name
19
+ img1 = load_torch_image(fname1)
20
+ img2 = load_torch_image(fname2)
21
 
22
  matcher = KF.LoFTR(pretrained='outdoor')
23