Skip to content

Commit 53fe2c7

Browse files
committed
refactor session manager to support real async response
1 parent eeeb408 commit 53fe2c7

File tree

6 files changed

+324
-132
lines changed

6 files changed

+324
-132
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ dependencies = [
4646
"torchaudio==2.1.1",
4747
"pandas",
4848
"tensorboard",
49+
"psutil>=6.1.1"
4950
]

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ pandas~=2.2.3
5656
torchmetrics==1.6.0
5757
regex~=2024.11.6
5858
tensorboard
59+
multiprocess==0.70.17
60+
61+
psutil~=6.1.1

src/audiokit/slicer/slicer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def _apply_slice(self, waveform, begin, end):
4040
begin * self.hop_size: min(waveform.shape[0], end * self.hop_size)
4141
]
4242

43-
# @timeit
4443
def slice(self, waveform):
4544
if len(waveform.shape) > 1:
4645
samples = waveform.mean(axis=0)

0 commit comments

Comments
 (0)