Spaces:
Running
Running
Merge pull request #345 from jhj0517/fix/torch-version
Browse files- Install.bat +1 -0
- Install.sh +1 -0
- README.md +1 -1
- requirements.txt +3 -3
Install.bat
CHANGED
@@ -8,6 +8,7 @@ echo checked the venv folder. now installing requirements..
|
|
8 |
|
9 |
call "%~dp0\venv\scripts\activate"
|
10 |
|
|
|
11 |
pip install -r requirements.txt
|
12 |
|
13 |
if errorlevel 1 (
|
|
|
8 |
|
9 |
call "%~dp0\venv\scripts\activate"
|
10 |
|
11 |
+
python -m pip install -U pip
|
12 |
pip install -r requirements.txt
|
13 |
|
14 |
if errorlevel 1 (
|
Install.sh
CHANGED
@@ -7,6 +7,7 @@ fi
|
|
7 |
|
8 |
source venv/bin/activate
|
9 |
|
|
|
10 |
pip install -r requirements.txt && echo "Requirements installed successfully." || {
|
11 |
echo ""
|
12 |
echo "Requirements installation failed. Please remove the venv folder and run the script again."
|
|
|
7 |
|
8 |
source venv/bin/activate
|
9 |
|
10 |
+
python -m pip install -U pip
|
11 |
pip install -r requirements.txt && echo "Requirements installed successfully." || {
|
12 |
echo ""
|
13 |
echo "Requirements installation failed. Please remove the venv folder and run the script again."
|
README.md
CHANGED
@@ -85,7 +85,7 @@ After installing FFmpeg, **make sure to add the `FFmpeg/bin` folder to your syst
|
|
85 |
|
86 |
1. git clone this repository
|
87 |
```shell
|
88 |
-
https://github.com/jhj0517/Whisper-WebUI.git
|
89 |
```
|
90 |
2. Run `install.bat` or `install.sh` to install dependencies. (This will create a `venv` directory and install dependencies there.)
|
91 |
3. Start WebUI with `start-webui.bat` or `start-webui.sh`
|
|
|
85 |
|
86 |
1. git clone this repository
|
87 |
```shell
|
88 |
+
git clone https://github.com/jhj0517/Whisper-WebUI.git
|
89 |
```
|
90 |
2. Run `install.bat` or `install.sh` to install dependencies. (This will create a `venv` directory and install dependencies there.)
|
91 |
3. Start WebUI with `start-webui.bat` or `start-webui.sh`
|
requirements.txt
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
# If you're using it, update url to your CUDA version (CUDA 12.1 is minimum requirement):
|
3 |
# For CUDA 12.1, use : https://download.pytorch.org/whl/cu121
|
4 |
# For CUDA 12.4, use : https://download.pytorch.org/whl/cu124
|
5 |
-
--extra-index-url https://download.pytorch.org/whl/
|
6 |
|
7 |
|
8 |
-
torch
|
9 |
-
torchaudio
|
10 |
git+https://github.com/jhj0517/jhj0517-whisper.git
|
11 |
faster-whisper==1.0.3
|
12 |
transformers
|
|
|
2 |
# If you're using it, update url to your CUDA version (CUDA 12.1 is minimum requirement):
|
3 |
# For CUDA 12.1, use : https://download.pytorch.org/whl/cu121
|
4 |
# For CUDA 12.4, use : https://download.pytorch.org/whl/cu124
|
5 |
+
--extra-index-url https://download.pytorch.org/whl/cu124
|
6 |
|
7 |
|
8 |
+
torch
|
9 |
+
torchaudio
|
10 |
git+https://github.com/jhj0517/jhj0517-whisper.git
|
11 |
faster-whisper==1.0.3
|
12 |
transformers
|