Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,11 +73,11 @@ def process_vid(file,cur_frame,every_n):
|
|
| 73 |
Img: <a href='{search_item.image_url}' target='_blank' rel='noopener noreferrer'>{search_item.image_url}</a><br>
|
| 74 |
<img class='my_im' src='{search_item.image_url}'><br>
|
| 75 |
</div>"""
|
| 76 |
-
return (gr.HTML(f'<h1>Total Found: {count}</h1><br>{html_out}'), f"Found frame: {i}", i)
|
| 77 |
else:
|
| 78 |
pass
|
| 79 |
count +=1
|
| 80 |
-
print (i)
|
| 81 |
#return (None,f"Searching Frame: {i}", "")
|
| 82 |
except Exception as e:
|
| 83 |
return (gr.HTML(f'{e}'),"","")
|
|
|
|
| 73 |
Img: <a href='{search_item.image_url}' target='_blank' rel='noopener noreferrer'>{search_item.image_url}</a><br>
|
| 74 |
<img class='my_im' src='{search_item.image_url}'><br>
|
| 75 |
</div>"""
|
| 76 |
+
return (gr.HTML(f'<h1>Total Found: {count}</h1><br>{html_out}'), f"Found frame: {i}", i+1)
|
| 77 |
else:
|
| 78 |
pass
|
| 79 |
count +=1
|
| 80 |
+
print (i+1)
|
| 81 |
#return (None,f"Searching Frame: {i}", "")
|
| 82 |
except Exception as e:
|
| 83 |
return (gr.HTML(f'{e}'),"","")
|