czyoung commited on
Commit
2b2d109
·
verified ·
1 Parent(s): af26c0d

Added self references

Browse files
Files changed (1) hide show
  1. sonogram.py +2 -2
sonogram.py CHANGED
@@ -221,10 +221,10 @@ class Sonogram():
221
 
222
  return annotation, totalTimeInSeconds, waveform, sampleRate
223
 
224
- def toDevice():
225
  self.pipeline.to(self.device)
226
  print(f"Sonogram moved to {self.device}")
227
 
228
- def toCPU():
229
  self.pipeline.to('cpu')
230
  print(f"Sonogram moved to CPU")
 
221
 
222
  return annotation, totalTimeInSeconds, waveform, sampleRate
223
 
224
+ def toDevice(self):
225
  self.pipeline.to(self.device)
226
  print(f"Sonogram moved to {self.device}")
227
 
228
+ def toCPU(self):
229
  self.pipeline.to('cpu')
230
  print(f"Sonogram moved to CPU")