logo
Browse Source

update

main
junjiejiangjjj 3 years ago
parent
commit
1d1a19db31
  1. 6
      audio_decoder.py

6
audio_decoder.py

@ -1,13 +1,9 @@
import soundfile as sf
import numpy as np
from typing import Generator, NamedTuple
from typing import NamedTuple
import av
from towhee.operator.base import Operator
from torch_vggish import TorchVggish
# from torch_vggish import TorchVggish
AudioOutput = NamedTuple("Outputs", [("audio_frame", 'ndarray'), ('sample_rate', 'int'), ("TIMESTAMP", 'int')])

Loading…
Cancel
Save