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.
2 parents 88af4f2 + da45c1a commit 6c6b7baCopy full SHA for 6c6b7ba
Dockerfile
@@ -439,6 +439,7 @@ RUN pip install flashtext && \
439
pip install papermill && \
440
pip install cloud-tpu-client && \
441
pip install tensorflow-datasets && \
442
+ pip install pydub && \
443
/tmp/clean-layer.sh
444
445
# 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