Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Ahsen Khaliq
commited on
Commit
•
b7aa35d
1
Parent(s):
dcf6f52
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,9 @@ def inference(file1,file2):
|
|
15 |
fname1 = file1.name
|
16 |
fname2 = file2.name
|
17 |
im1 = cv2.imread(fname1)
|
18 |
-
im1re = cv2.resize(im1, (
|
19 |
im2 = cv2.imread(fname2)
|
20 |
-
im2re = cv2.resize(im2, (
|
21 |
img1 = load_torch_image(im1re)
|
22 |
img2 = load_torch_image(im2re)
|
23 |
|
|
|
15 |
fname1 = file1.name
|
16 |
fname2 = file2.name
|
17 |
im1 = cv2.imread(fname1)
|
18 |
+
im1re = cv2.resize(im1, (700, 700))
|
19 |
im2 = cv2.imread(fname2)
|
20 |
+
im2re = cv2.resize(im2, (700, 700))
|
21 |
img1 = load_torch_image(im1re)
|
22 |
img2 = load_torch_image(im2re)
|
23 |
|