KingNish commited on
Commit
e1a05a3
·
verified ·
1 Parent(s): 727c44a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- **({"max_pixels": 500 * 500, "fps": 8.0} if media_type == "video" else {}),
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
  ],