Spaces:
Sleeping
Sleeping
jhj0517
commited on
Commit
·
2ccaed9
1
Parent(s):
6a6c511
add -U option
Browse files- Dockerfile +1 -1
- Install.bat +1 -1
- Install.sh +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ COPY requirements.txt .
|
|
11 |
|
12 |
RUN python3 -m venv venv && \
|
13 |
. venv/bin/activate && \
|
14 |
-
pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
|
17 |
FROM debian:bookworm-slim AS runtime
|
|
|
11 |
|
12 |
RUN python3 -m venv venv && \
|
13 |
. venv/bin/activate && \
|
14 |
+
pip install --no-cache-dir -r requirements.txt -U
|
15 |
|
16 |
|
17 |
FROM debian:bookworm-slim AS runtime
|
Install.bat
CHANGED
@@ -10,7 +10,7 @@ cd /d "%~dp0\venv\Scripts"
|
|
10 |
call activate.bat
|
11 |
|
12 |
cd /d "%~dp0"
|
13 |
-
pip install -r requirements.txt
|
14 |
|
15 |
if errorlevel 1 (
|
16 |
echo.
|
|
|
10 |
call activate.bat
|
11 |
|
12 |
cd /d "%~dp0"
|
13 |
+
pip install -r requirements.txt -U
|
14 |
|
15 |
if errorlevel 1 (
|
16 |
echo.
|
Install.sh
CHANGED
@@ -7,7 +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."
|
13 |
deactivate
|
|
|
7 |
|
8 |
source venv/bin/activate
|
9 |
|
10 |
+
pip install -r requirements.txt -U && echo "Requirements installed successfully." || {
|
11 |
echo ""
|
12 |
echo "Requirements installation failed. Please remove the venv folder and run the script again."
|
13 |
deactivate
|
requirements.txt
CHANGED
@@ -2,6 +2,6 @@
|
|
2 |
torch
|
3 |
git+https://github.com/jhj0517/jhj0517-whisper.git
|
4 |
faster-whisper==1.0.1
|
5 |
-
transformers
|
6 |
gradio==4.14.0
|
7 |
pytube
|
|
|
2 |
torch
|
3 |
git+https://github.com/jhj0517/jhj0517-whisper.git
|
4 |
faster-whisper==1.0.1
|
5 |
+
transformers
|
6 |
gradio==4.14.0
|
7 |
pytube
|