Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def process_vid(file,cur_frame,every_n):
|
|
51 |
ret, frame_f = capture.read(i)
|
52 |
cv2.imwrite(f"{uid}-vid_tmp{i}.png", frame_f)
|
53 |
out = os.path.abspath(f"{uid}-vid_tmp{i}.png")
|
54 |
-
out_url = f'https://omnibus-reverse-image
|
55 |
print(out)
|
56 |
res = rev_img_searcher.search(out_url)
|
57 |
#print (res)
|
|
|
51 |
ret, frame_f = capture.read(i)
|
52 |
cv2.imwrite(f"{uid}-vid_tmp{i}.png", frame_f)
|
53 |
out = os.path.abspath(f"{uid}-vid_tmp{i}.png")
|
54 |
+
out_url = f'https://omnibus-reverse-image.hf.space/file={out}'
|
55 |
print(out)
|
56 |
res = rev_img_searcher.search(out_url)
|
57 |
#print (res)
|