diff --git a/assets/video/test1.srt b/assets/video/test1.srt new file mode 100644 index 0000000..99077a2 --- /dev/null +++ b/assets/video/test1.srt @@ -0,0 +1,12 @@ +1 +00:00:00,000 --> 00:00:03,160 +The is Artificial Intelligence. + +2 +00:00:03,160 --> 00:00:09,680 +We speak of AI when computer systems perform tasks that usually require human intelligence. + +3 +00:00:09,680 --> 00:00:15,680 +This includes, for example, recognizing images, making decisions or engaging in dialogue. + diff --git a/tests/test_main.py b/tests/test_main.py index e501cb4..ab52c5b 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -17,7 +17,7 @@ class TestSubsAI(TestCase): subs_ai = SubsAI() model_name = 'openai/whisper' - files = ['../assets/video/test1.mp4', '../assets/audio/test1.mp3'] + files = ['../assets/video/test1.webm', '../assets/audio/test1.mp3'] def test_available_models(self): available_models = self.subs_ai.available_models()