From d82626e20321b3dbfe520ea0a142c8310da4f7dc Mon Sep 17 00:00:00 2001 From: kadirnar Date: Thu, 11 Jan 2024 13:24:52 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=86=99Update=20requirements.txt=20and?= =?UTF-8?q?=20version=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 17 +++++++++++++---- setup.py | 4 ---- whisperplus/__init__.py | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/requirements.txt b/requirements.txt index ea93df1..e6c3f7a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,18 @@ -gradio==4.7.1 +--index-url https://download.pytorch.org/whl/cu118 +torch==2.1.1 +torchvision==0.16.1 +torchaudio==2.1.1 +gradio==4.14.0 +lancedb==0.4.2 +langchain==0.1.0 moviepy==1.0.3 -numpy +numpy==1.24.1 pyannote.audio==3.1.0 +pyannote.core==5.0.0 +pyannote.database==5.0.1 +pyannote.metrics==3.2.1 +pyannote.pipeline==3.0.1 pytube==15.0.0 Requests==2.31.0 -torch -torchaudio +setuptools==69.0.3 transformers==4.35.2 diff --git a/setup.py b/setup.py index 676980e..b2df209 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,6 @@ def get_requirements(req_path: str): INSTALL_REQUIRES = get_requirements("requirements.txt") -DEV_REQUIREMETNS = get_requirements("dev-requirements.txt") def get_long_description(): @@ -51,7 +50,4 @@ def get_license(): long_description_content_type='text/markdown', url='https://github.com/kadirnar/whisperplus', install_requires=INSTALL_REQUIRES, - extras_require={ - 'dev': DEV_REQUIREMETNS, - }, ) diff --git a/whisperplus/__init__.py b/whisperplus/__init__.py index d58f691..7a41fe3 100644 --- a/whisperplus/__init__.py +++ b/whisperplus/__init__.py @@ -4,7 +4,7 @@ from whisperplus.utils.download_utils import download_and_convert_to_mp3 from whisperplus.utils.text_utils import format_speech_to_dialogue -__version__ = '0.2.3' +__version__ = '0.2.4' __author__ = 'kadirnar' __license__ = 'Apache License 2.0' __all__ = [''] From 32e1e481cccb0e3b90781bcab3f525d934cd8c5f Mon Sep 17 00:00:00 2001 From: kadirnar Date: Thu, 11 Jan 2024 13:26:06 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=B0=20Fix=20typo=20in=20input=20fi?= =?UTF-8?q?le=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a837c08..215ad79 100644 --- a/README.md +++ b/README.md @@ -91,9 +91,9 @@ pip install -r dev-requirements ``` ```python -from wihsperplus.pipelines.chatbot import ChatWithVideo +from whisperplus.pipelines.chatbot import ChatWithVideo -input_file = "trascript.text" +input_file = "trascript.txt" llm_model_name = "TheBloke/Mistral-7B-v0.1-GGUF" llm_model_file = "mistral-7b-v0.1.Q4_K_M.gguf" llm_model_type = "mistral"