Update README.md
Browse files
README.md
CHANGED
@@ -2,14 +2,16 @@
|
|
2 |
simply install chocolatey run this on your cmd:
|
3 |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
|
4 |
|
5 |
-
after that install ffmpeg in your device using choco install by running this on cmd after:
|
|
|
6 |
choco install ffmpeg
|
7 |
|
8 |
-
install dependencies in python IDE using:
|
9 |
pip install --upgrade pip
|
|
|
10 |
pip install --upgrade git+https://github.com/huggingface/transformers.git accelerate datasets[audio]
|
11 |
|
12 |
-
then lastly to inference the model:
|
13 |
|
14 |
import torch
|
15 |
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|
|
|
2 |
simply install chocolatey run this on your cmd:
|
3 |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
|
4 |
|
5 |
+
# after that install ffmpeg in your device using choco install by running this on cmd after:
|
6 |
+
|
7 |
choco install ffmpeg
|
8 |
|
9 |
+
# install dependencies in python IDE using:
|
10 |
pip install --upgrade pip
|
11 |
+
|
12 |
pip install --upgrade git+https://github.com/huggingface/transformers.git accelerate datasets[audio]
|
13 |
|
14 |
+
# then lastly to inference the model:
|
15 |
|
16 |
import torch
|
17 |
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|