Spaces:
Sleeping
Sleeping
Update sonogram_utility.py
Browse files- sonogram_utility.py +2 -2
sonogram_utility.py
CHANGED
|
@@ -151,8 +151,8 @@ def loadAudioCSV(sampleCSV):
|
|
| 151 |
|
| 152 |
for i, row in df.iterrows():
|
| 153 |
index = row['Resource']
|
| 154 |
-
start =
|
| 155 |
-
end =
|
| 156 |
prediction[Segment(start,end)] = index
|
| 157 |
|
| 158 |
return [], prediction
|
|
|
|
| 151 |
|
| 152 |
for i, row in df.iterrows():
|
| 153 |
index = row['Resource']
|
| 154 |
+
start = row['Start']
|
| 155 |
+
end = row['Finish']
|
| 156 |
prediction[Segment(start,end)] = index
|
| 157 |
|
| 158 |
return [], prediction
|