Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def qwen_inference(media_path, text_input=None):
|
|
37 |
{
|
38 |
"type": media_type,
|
39 |
media_type: media_path,
|
40 |
-
**({"
|
41 |
},
|
42 |
{"type": "text", "text": text_input},
|
43 |
],
|
|
|
37 |
{
|
38 |
"type": media_type,
|
39 |
media_type: media_path,
|
40 |
+
**({"fps": 8.0} if media_type == "video" else {}),
|
41 |
},
|
42 |
{"type": "text", "text": text_input},
|
43 |
],
|