DCNemesis
commited on
Commit
·
01d1771
1
Parent(s):
766aa8b
update to new file, change loading script
Browse files- audio-kw-in-context.py +3 -3
- bible-keyword-context.json +0 -0
audio-kw-in-context.py
CHANGED
|
@@ -135,9 +135,9 @@ class AudioKwInContext(datasets.GeneratorBasedBuilder):
|
|
| 135 |
"speaker_id": row['speaker_id'],
|
| 136 |
"keywords": row['keywords'],
|
| 137 |
"audio": tfile,
|
| 138 |
-
"start_times": row
|
| 139 |
-
"end_times": row
|
| 140 |
-
"confidence": row
|
| 141 |
}
|
| 142 |
except Exception as e:
|
| 143 |
print(e)
|
|
|
|
| 135 |
"speaker_id": row['speaker_id'],
|
| 136 |
"keywords": row['keywords'],
|
| 137 |
"audio": tfile,
|
| 138 |
+
"start_times": row.get('start_times'),
|
| 139 |
+
"end_times": row.get('end_times'),
|
| 140 |
+
"confidence": row.get('confidence'),
|
| 141 |
}
|
| 142 |
except Exception as e:
|
| 143 |
print(e)
|
bible-keyword-context.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|