tanthinhdt commited on
Commit
2d62670
·
verified ·
1 Parent(s): c5f5667

fix(builder): adjust video path in sample

Browse files
Files changed (1) hide show
  1. 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(video_dir, "*.png"),
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"],