From 1650f3fccbc783de4b1ae0bb68580f24634231eb Mon Sep 17 00:00:00 2001 From: Elizabeth Cray Date: Thu, 10 Oct 2024 10:54:54 -0400 Subject: [PATCH] Project Alpha 2 --- .gitignore | 1 + meatgrinder.py | 4 ++-- audio.py => media_convert.py | 0 requirements.txt | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) rename audio.py => media_convert.py (100%) diff --git a/.gitignore b/.gitignore index bdaab25..06a47c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ env/ +__pycache__/ diff --git a/meatgrinder.py b/meatgrinder.py index b031f42..c04c4d5 100644 --- a/meatgrinder.py +++ b/meatgrinder.py @@ -1,6 +1,6 @@ import argparse import os -import audio +import media_convert import transcribe import summarize @@ -20,7 +20,7 @@ if args.output and os.path.isFile(args.output) and not args.force: exit(1) -audio_file = audio.process(args.input) +audio_file = media_convert.process(args.input) transcription = transcribe.process(audio_file) diff --git a/audio.py b/media_convert.py similarity index 100% rename from audio.py rename to media_convert.py diff --git a/requirements.txt b/requirements.txt index d72736f..83cb7b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,6 +17,7 @@ charset-normalizer=3.3.2=pypi_0 datasets=3.0.1=pypi_0 decorator=5.1.1=pypi_0 dill=0.3.8=pypi_0 +ffmpeg=1.4=pypi_0 filelock=3.16.1=pypi_0 frozenlist=1.4.1=pypi_0 fsspec=2024.6.1=pypi_0