Kimata commited on
Commit
d7b6ade
·
1 Parent(s): 6d9ea36

remove librosa from pipeline.py

Browse files
__pycache__/pipeline.cpython-39.pyc CHANGED
Binary files a/__pycache__/pipeline.cpython-39.pyc and b/__pycache__/pipeline.cpython-39.pyc differ
 
__pycache__/rawnet.cpython-39.pyc CHANGED
Binary files a/__pycache__/rawnet.cpython-39.pyc and b/__pycache__/rawnet.cpython-39.pyc differ
 
efficientnet-b0/keras_metadata.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8411f85bd22de246fee31adc6bbf0a60d403ac22d8f572154fd77eb866b8daf3
3
+ size 202114
efficientnet-b0/saved_model.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca17aff86eeedbeab2ace0fc42296a1fe11352c6adb418f04f96c5a3607bd28a
3
+ size 10505251
efficientnet-b0/variables/variables.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6418ccca9c8b62339ccfae9e5e3aae785fbdeed31fa08af7207ad4f0fc94fbbf
3
+ size 23824720
efficientnet-b0/variables/variables.index ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8941b2f42aede433bd46ec35e5f9ec0fe489f57e44960db8f0cc40967bcf5e9
3
+ size 21161
pipeline.py CHANGED
@@ -212,7 +212,7 @@ audio_label_map = {
212
 
213
  def deepfakes_audio_predict(input_audio):
214
  #Perform inference on audio.
215
- x, sr = librosa.load(input_audio)
216
  x_pt = torch.Tensor(x)
217
  x_pt = torch.unsqueeze(x_pt, dim = 0)
218
 
 
212
 
213
  def deepfakes_audio_predict(input_audio):
214
  #Perform inference on audio.
215
+ x, sr = input_audio
216
  x_pt = torch.Tensor(x)
217
  x_pt = torch.unsqueeze(x_pt, dim = 0)
218