Spaces:
Sleeping
Sleeping
Update sonogram_utility.py
Browse files- sonogram_utility.py +1 -1
sonogram_utility.py
CHANGED
|
@@ -98,7 +98,7 @@ def loadAudioRTTM(sampleRTTM):
|
|
| 98 |
|
| 99 |
return speakerList, prediction
|
| 100 |
|
| 101 |
-
def splitIntoTimeSegments(testFile,maxDurationInSeconds=60)
|
| 102 |
|
| 103 |
waveform, sample_rate = torchaudio.load(testFile)
|
| 104 |
audioSegments = []
|
|
|
|
| 98 |
|
| 99 |
return speakerList, prediction
|
| 100 |
|
| 101 |
+
def splitIntoTimeSegments(testFile,maxDurationInSeconds=60):
|
| 102 |
|
| 103 |
waveform, sample_rate = torchaudio.load(testFile)
|
| 104 |
audioSegments = []
|