Skip to content

Commit

Permalink
Merge pull request #90 from kadirnar/update-req-file
Browse files Browse the repository at this point in the history
Speed up library installation.
  • Loading branch information
kadirnar authored May 7, 2024
2 parents ff92112 + 4e679a3 commit 1380e26
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ print(summary_text)

### 💬 Speaker Diarization

```bash
pip install 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 torchaudio>=2.0.0
```

```python
from whisperplus import (
ASRDiarizationPipeline,
Expand All @@ -122,6 +126,10 @@ print(dialogue)

### ⭐ RAG - Chat with Video(LanceDB)

```bash
pip install sentence-transformers ctransformers langchain
```

```python
from whisperplus.pipelines.chatbot import ChatWithVideo

Expand All @@ -140,6 +148,10 @@ print(response)

### 🌠 RAG - Chat with Video(AutoLLM)

```bash
pip install autollm>=0.1.9
```

```python
from whisperplus import AutoLLMChatWithVideo

Expand Down Expand Up @@ -198,7 +210,7 @@ caption(video_path="test.mp4", output_path="output.mp4", language="turkish")
## 😍 Contributing

```bash
pip install -r dev-requirements.txt
pip install pre-commit
pre-commit install
pre-commit run --all-files
```
Expand Down
14 changes: 0 additions & 14 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
torch>=2.0.0
torchvision>=0.15.0
torchaudio>=2.0.0
gradio>=4.14.0
langchain>=0.1.0
moviepy>=1.0.3
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
sentence-transformers
ctransformers
accelerate
pre-commit==3.4.0
autollm>=0.1.9
speechbrain>=0.5.16
bitsandbytes
hqq

0 comments on commit 1380e26

Please sign in to comment.