Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update file names
Browse files
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(
|
20 |
-
img2 = load_torch_image(
|
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 |
|