cati commited on
Commit
6a4c139
1 Parent(s): e846a2f
Files changed (2) hide show
  1. ctcalign.py +1 -0
  2. requirements.txt +1 -0
ctcalign.py CHANGED
@@ -2,6 +2,7 @@ from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
2
  import torch, torchaudio
3
  import soundfile as sf
4
  import numpy as np
 
5
 
6
  #------------------------------------------
7
  # setup wav2vec2
 
2
  import torch, torchaudio
3
  import soundfile as sf
4
  import numpy as np
5
+ import scipy.signal
6
 
7
  #------------------------------------------
8
  # setup wav2vec2
requirements.txt CHANGED
@@ -2,3 +2,4 @@ transformers
2
  torch
3
  torchaudio
4
  soundfile
 
 
2
  torch
3
  torchaudio
4
  soundfile
5
+ scipy