fix(builder): adjust video path in sample
Browse files- phoenix14t.py +1 -1
phoenix14t.py
CHANGED
|
@@ -133,7 +133,7 @@ class Phoenix14T(datasets.GeneratorBasedBuilder):
|
|
| 133 |
if os.path.exists(video_path):
|
| 134 |
yield idx, {
|
| 135 |
"name": sample["name"],
|
| 136 |
-
"video": os.path.join(
|
| 137 |
"start": sample["start"],
|
| 138 |
"end": sample["end"],
|
| 139 |
"speaker": sample["speaker"],
|
|
|
|
| 133 |
if os.path.exists(video_path):
|
| 134 |
yield idx, {
|
| 135 |
"name": sample["name"],
|
| 136 |
+
"video": os.path.join(video_path, "*.png"),
|
| 137 |
"start": sample["start"],
|
| 138 |
"end": sample["end"],
|
| 139 |
"speaker": sample["speaker"],
|