Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def qwen_inference(media_input, text_input=None):
|
|
55 |
media_path, media_type = identify_and_save_blob(media_input)
|
56 |
print(media_path, media_type)
|
57 |
except Exception as e:
|
58 |
-
print(
|
59 |
raise ValueError(
|
60 |
"Unsupported media type. Please upload an image or video."
|
61 |
)
|
|
|
55 |
media_path, media_type = identify_and_save_blob(media_input)
|
56 |
print(media_path, media_type)
|
57 |
except Exception as e:
|
58 |
+
print(e)
|
59 |
raise ValueError(
|
60 |
"Unsupported media type. Please upload an image or video."
|
61 |
)
|