diff --git a/README.md b/README.md index eb07f49..11cbebc 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,16 @@ into `.lrc` files in the desired language using [OpenAI-GPT](https://github.com/ 2. Add your [OpenAI API key](https://platform.openai.com/account/api-keys) to environment variable `OPENAI_API_KEY`. 3. Install [PyTorch](https://pytorch.org/get-started/locally/): - ```shell + ```shell pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 ``` -4. Install [whisperx](https://github.com/m-bain/whisperX) - - ```shell - pip install git+https://github.com/m-bain/whisperx.git - ``` +4. Install [whisperx](https://github.com/m-bain/whisperX) and (Recommended) the + latest [fast-whisper](https://github.com/guillaumekln/faster-whisper) + ```shell + pip install git+https://github.com/guillaumekln/faster-whisper + pip install git+https://github.com/m-bain/whisperx.git + ``` 5. (Optional) If you want to process videos, install [ffmpeg](https://ffmpeg.org/download.html) and add `bin` directory to your `PATH`. diff --git a/pyproject.toml b/pyproject.toml index dbaeabd..4abfecf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,6 @@ include = [ [tool.poetry.dependencies] python = "^3.8" openai = "^0.27.6" -faster-whisper = { git = "https://github.com/guillaumekln/faster-whisper" } tiktoken = "^0.3.1" langcodes = "^3.3.0" language-data = "^1.1" @@ -52,7 +51,8 @@ filetype = "^1.2.0" jaconvV2 = "^0.4" spacy = "^3.5.4" pysbd = "^0.3.4" -whisperx = { git = "https://github.com/m-bain/whisperx.git" } +faster-whisper = "^0.6.0" +#whisperx = { git = "https://github.com/m-bain/whisperx.git" } #torch = { version = "2.0.1", source = "torch" } #torchaudio = { version = "2.0.2", source = "torch" } #torchvision = { version = "0.15.2", source = "torch" }