Upload 3 files
Browse files- Dockerfile +2 -2
- Install.sh +1 -2
- requirements.txt +0 -1
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ COPY requirements.txt .
|
|
| 11 |
|
| 12 |
RUN python3 -m venv venv && \
|
| 13 |
. venv/bin/activate && \
|
| 14 |
-
pip install -
|
| 15 |
-
|
| 16 |
|
| 17 |
FROM debian:bookworm-slim AS runtime
|
| 18 |
|
|
|
|
| 11 |
|
| 12 |
RUN python3 -m venv venv && \
|
| 13 |
. venv/bin/activate && \
|
| 14 |
+
pip install -U -r requirements.txt
|
| 15 |
+
|
| 16 |
|
| 17 |
FROM debian:bookworm-slim AS runtime
|
| 18 |
|
Install.sh
CHANGED
|
@@ -7,8 +7,7 @@ fi
|
|
| 7 |
|
| 8 |
source venv/bin/activate
|
| 9 |
|
| 10 |
-
|
| 11 |
-
pip install --no-build-isolation -r requirements.txt && echo "Requirements installed successfully." || {
|
| 12 |
echo ""
|
| 13 |
echo "Requirements installation failed. Please remove the venv folder and run the script again."
|
| 14 |
deactivate
|
|
|
|
| 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
|
requirements.txt
CHANGED
|
@@ -4,7 +4,6 @@
|
|
| 4 |
# For CUDA 12.4, use : https://download.pytorch.org/whl/cu124
|
| 5 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 6 |
|
| 7 |
-
setuptools==81.0.0
|
| 8 |
gradio==5.49.1
|
| 9 |
pytubefix
|
| 10 |
transformers
|
|
|
|
| 4 |
# For CUDA 12.4, use : https://download.pytorch.org/whl/cu124
|
| 5 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 6 |
|
|
|
|
| 7 |
gradio==5.49.1
|
| 8 |
pytubefix
|
| 9 |
transformers
|