MarioPrzBasto commited on
Commit
2419a99
·
verified ·
1 Parent(s): a94e295

Update similarity.py

Browse files
Files changed (1) hide show
  1. similarity.py +2 -2
similarity.py CHANGED
@@ -117,9 +117,9 @@ def load_image_url(source, assetCode, contentType=None, ffmpeg_path='ffmpeg', fr
117
  return frame
118
 
119
  try:
 
120
  if source.startswith('http'):
121
- logging.info(f"[INFO] Content-Type de {assetCode} é {contentType}")
122
-
123
  if contentType and contentType.startswith('video'):
124
  return extract_frame_from_video(source, frame_time)
125
 
 
117
  return frame
118
 
119
  try:
120
+ logging.info(f"[INFO] Content-Type de {assetCode} é {contentType} com source {source}")
121
  if source.startswith('http'):
122
+
 
123
  if contentType and contentType.startswith('video'):
124
  return extract_frame_from_video(source, frame_time)
125