Commit
·
41b1b57
1
Parent(s):
5a8a3ed
error fix
Browse files
sample.py
CHANGED
|
@@ -152,7 +152,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
| 152 |
data_df = pd.read_csv(f,sep=',')
|
| 153 |
transcripts = []
|
| 154 |
for index,row in data_df.iterrows():
|
| 155 |
-
samplerate, audio_data = wavfile.read(
|
| 156 |
yield key, {
|
| 157 |
"sentence": row["sentence"],
|
| 158 |
"path": row["path"],
|
|
|
|
| 152 |
data_df = pd.read_csv(f,sep=',')
|
| 153 |
transcripts = []
|
| 154 |
for index,row in data_df.iterrows():
|
| 155 |
+
samplerate, audio_data = wavfile.read(row["path"])
|
| 156 |
yield key, {
|
| 157 |
"sentence": row["sentence"],
|
| 158 |
"path": row["path"],
|