Spaces:
Sleeping
Sleeping
John Ho
commited on
Commit
·
a32aeaf
1
Parent(s):
c0b7fcc
debug multiple value for fps error
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def inference(
|
|
| 75 |
{
|
| 76 |
"type": "video",
|
| 77 |
"video": video_path,
|
| 78 |
-
|
| 79 |
},
|
| 80 |
{"type": "text", "text": prompt},
|
| 81 |
],
|
|
@@ -92,7 +92,7 @@ def inference(
|
|
| 92 |
text=[text],
|
| 93 |
images=image_inputs,
|
| 94 |
videos=video_inputs,
|
| 95 |
-
fps=fps,
|
| 96 |
padding=True,
|
| 97 |
return_tensors="pt",
|
| 98 |
**video_kwargs,
|
|
|
|
| 75 |
{
|
| 76 |
"type": "video",
|
| 77 |
"video": video_path,
|
| 78 |
+
"fps": fps,
|
| 79 |
},
|
| 80 |
{"type": "text", "text": prompt},
|
| 81 |
],
|
|
|
|
| 92 |
text=[text],
|
| 93 |
images=image_inputs,
|
| 94 |
videos=video_inputs,
|
| 95 |
+
# fps=fps,
|
| 96 |
padding=True,
|
| 97 |
return_tensors="pt",
|
| 98 |
**video_kwargs,
|