Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|