Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def rev_im(image):
|
|
103 |
image=cv2.imread(image)
|
104 |
cv2.imwrite(f"{uid}-im_tmp.png", image)
|
105 |
out = os.path.abspath(f"{uid}-im_tmp.png")
|
106 |
-
out_url = f'https://omnibus-reverse-image
|
107 |
rev_img_searcher = ReverseImageSearcher()
|
108 |
res = rev_img_searcher.search(out_url)
|
109 |
count = 0
|
|
|
103 |
image=cv2.imread(image)
|
104 |
cv2.imwrite(f"{uid}-im_tmp.png", image)
|
105 |
out = os.path.abspath(f"{uid}-im_tmp.png")
|
106 |
+
out_url = f'https://omnibus-reverse-image.hf.space/file={out}'
|
107 |
rev_img_searcher = ReverseImageSearcher()
|
108 |
res = rev_img_searcher.search(out_url)
|
109 |
count = 0
|