Spaces:
Running
Running
jhj0517
commited on
Commit
·
6a6c511
1
Parent(s):
1baba5f
add options in requirements.txt
Browse files- Dockerfile +0 -1
- Install.bat +0 -1
- Install.sh +0 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
|
@@ -12,7 +12,6 @@ COPY requirements.txt .
|
|
| 12 |
RUN python3 -m venv venv && \
|
| 13 |
. venv/bin/activate && \
|
| 14 |
pip install --no-cache-dir -r requirements.txt
|
| 15 |
-
pip install tokenizers==0.19.1
|
| 16 |
|
| 17 |
|
| 18 |
FROM debian:bookworm-slim AS runtime
|
|
|
|
| 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
|
Install.bat
CHANGED
|
@@ -11,7 +11,6 @@ call activate.bat
|
|
| 11 |
|
| 12 |
cd /d "%~dp0"
|
| 13 |
pip install -r requirements.txt
|
| 14 |
-
pip install tokenizers==0.19.1
|
| 15 |
|
| 16 |
if errorlevel 1 (
|
| 17 |
echo.
|
|
|
|
| 11 |
|
| 12 |
cd /d "%~dp0"
|
| 13 |
pip install -r requirements.txt
|
|
|
|
| 14 |
|
| 15 |
if errorlevel 1 (
|
| 16 |
echo.
|
Install.sh
CHANGED
|
@@ -13,6 +13,5 @@ pip install -r requirements.txt && echo "Requirements installed successfully." |
|
|
| 13 |
deactivate
|
| 14 |
exit 1
|
| 15 |
}
|
| 16 |
-
pip install tokenizers==0.19.1
|
| 17 |
|
| 18 |
deactivate
|
|
|
|
| 13 |
deactivate
|
| 14 |
exit 1
|
| 15 |
}
|
|
|
|
| 16 |
|
| 17 |
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 -U
|
| 6 |
gradio==4.14.0
|
| 7 |
pytube
|