Skip to content

Commit

Permalink
🤖 Update readme.md with RAG example
Browse files Browse the repository at this point in the history
  • Loading branch information
kadirnar committed Dec 29, 2023
1 parent ff04b24 commit 7f194dd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ dialogue = format_speech_to_dialogue(output_text)
print(dialogue)
```

### Chat with Video - RAG

```bash
pip install -r dev-requirements
```

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

# Run the query
query = "what is mistral?"
result = ChatWithVideo.run_query(query)
print("result : ", result)
```

### Contributing

```bash
Expand Down
9 changes: 0 additions & 9 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
pre-commit==3.4.0
gradio==4.7.1
moviepy==1.0.3
numpy
pyannote.audio==3.1.0
pytube==15.0.0
Requests==2.31.0
torch==2.1.0
torchaudio==2.1.0
transformers==4.35.2
lancedb
langchain
openai
Expand Down
2 changes: 1 addition & 1 deletion whisperplus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.6'
__version__ = '0.1.0'
__author__ = 'kadirnar'
__license__ = 'Apache License 2.0'
__all__ = ['']

0 comments on commit 7f194dd

Please sign in to comment.