KingNish commited on
Commit
aee01b4
1 Parent(s): 5de9904

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -26,6 +26,7 @@ video_extensions = ("avi", "mp4", "mov", "mkv", "flv", "wmv", "mjpeg", "wav", "g
26
 
27
  @spaces.GPU
28
  def qwen_inference(media_path, text_input=None):
 
29
  if media_path.endswith(tuple([i for i, f in image_extensions.items()])):
30
  media_type = "image"
31
  elif media_path.endswith(video_extensions): # Check if it's a video path
 
26
 
27
  @spaces.GPU
28
  def qwen_inference(media_path, text_input=None):
29
+ print(media_path)
30
  if media_path.endswith(tuple([i for i, f in image_extensions.items()])):
31
  media_type = "image"
32
  elif media_path.endswith(video_extensions): # Check if it's a video path