We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86968f7 commit da45c1aCopy full SHA for da45c1a
Dockerfile
@@ -438,6 +438,7 @@ RUN pip install flashtext && \
438
pip install papermill && \
439
pip install cloud-tpu-client && \
440
pip install tensorflow-datasets && \
441
+ pip install pydub && \
442
/tmp/clean-layer.sh
443
444
# Tesseract and some associated utility packages
tests/test_pydub.py
@@ -0,0 +1,11 @@
1
+import unittest
2
+
3
+from pydub import AudioSegment
4
5
6
+class TestPydub(unittest.TestCase):
7
+ def test_import(self):
8
+ sound = AudioSegment.from_file('/input/tests/data/test.wav')
9
10
+ self.assertEqual(1810, len(sound))
11
0 commit comments