czyoung commited on
Commit
709f33f
·
verified ·
1 Parent(s): 48cb14a

Update sonogram_utility.py

Browse files
Files changed (1) hide show
  1. 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 = (row['Start'] - row['Start'].date()).total_seconds()
155
- end = (row['Finish'] - row['Finish'].date()).total_seconds()
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