Spaces:
Paused
Paused
Commit ·
11e2761
1
Parent(s): 62fce73
Fix: add librosa (transitive dep from speech2video import chain)
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -25,9 +25,8 @@ RUN git clone https://github.com/Wan-Video/Wan2.2.git /app/Wan2.2
|
|
| 25 |
# PyTorch
|
| 26 |
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
|
| 27 |
|
| 28 |
-
# Install
|
| 29 |
-
RUN
|
| 30 |
-
pip install --no-cache-dir \
|
| 31 |
opencv-python>=4.9.0.80 \
|
| 32 |
diffusers>=0.31.0 \
|
| 33 |
"transformers>=4.49.0,<=4.51.3" \
|
|
@@ -40,8 +39,9 @@ RUN cd /app/Wan2.2 && pip install --no-cache-dir -r requirements.txt 2>&1 || tru
|
|
| 40 |
imageio-ffmpeg \
|
| 41 |
einops \
|
| 42 |
decord \
|
| 43 |
-
|
| 44 |
-
sentencepiece
|
|
|
|
| 45 |
|
| 46 |
# FastAPI
|
| 47 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
|
| 25 |
# PyTorch
|
| 26 |
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
|
| 27 |
|
| 28 |
+
# Install ALL deps
|
| 29 |
+
RUN pip install --no-cache-dir \
|
|
|
|
| 30 |
opencv-python>=4.9.0.80 \
|
| 31 |
diffusers>=0.31.0 \
|
| 32 |
"transformers>=4.49.0,<=4.51.3" \
|
|
|
|
| 39 |
imageio-ffmpeg \
|
| 40 |
einops \
|
| 41 |
decord \
|
| 42 |
+
librosa \
|
| 43 |
+
sentencepiece \
|
| 44 |
+
"numpy>=1.23.5,<2"
|
| 45 |
|
| 46 |
# FastAPI
|
| 47 |
COPY --chown=user ./requirements.txt requirements.txt
|