Updated setup instruction

This commit is contained in:
Yuta Hayashibe 2022-09-26 00:14:20 +09:00
parent 11a895606a
commit 2e9806b0f7

View file

@ -11,13 +11,11 @@ Enough machine power is needed to transcribe in real time.
## Setup ## Setup
```bash ```bash
git clone https://github.com/shirayu/whisper_streaming.git pip install -U git+https://github.com/shirayu/whisper_streaming.git
cd whisper_streaming
poetry install --only main
# If you use GPU, install proper torch and torchaudio with "poetry run pip install -U" # If you use GPU, install proper torch and torchaudio with "poetry run pip install -U"
# Example : torch for CUDA 11.6 # Example : torch for CUDA 11.6
poetry run pip install -U torch torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 pip install -U torch torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
``` ```
## Example of microphone ## Example of microphone