Spaces:
Running
Running
Update Dockerfile and requirements.txt for improved package management and dependencies
Browse files- Dockerfile +3 -1
- requirements.txt +11 -6
Dockerfile
CHANGED
@@ -7,12 +7,14 @@ RUN apt-get update && apt-get install -y \
|
|
7 |
curl \
|
8 |
software-properties-common \
|
9 |
git \
|
|
|
|
|
10 |
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
COPY requirements.txt ./
|
13 |
COPY src/ ./src/
|
14 |
|
15 |
-
RUN pip3 install -r requirements.txt
|
16 |
|
17 |
EXPOSE 8501
|
18 |
|
|
|
7 |
curl \
|
8 |
software-properties-common \
|
9 |
git \
|
10 |
+
ffmpeg \
|
11 |
+
libsndfile1 \
|
12 |
&& rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
COPY requirements.txt ./
|
15 |
COPY src/ ./src/
|
16 |
|
17 |
+
RUN pip3 install --no-cache-dir -r requirements.txt
|
18 |
|
19 |
EXPOSE 8501
|
20 |
|
requirements.txt
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
-
streamlit
|
2 |
-
yt_dlp
|
3 |
-
moviepy
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit>=1.25.0
|
2 |
+
yt_dlp>=2023.7.6
|
3 |
+
moviepy>=1.0.3
|
4 |
+
numpy>=1.22.0
|
5 |
+
decorator>=4.4.2
|
6 |
+
imageio>=2.9.0
|
7 |
+
imageio-ffmpeg>=0.4.5
|
8 |
+
proglog>=0.1.10
|
9 |
+
speechbrain>=0.5.15
|
10 |
+
torch>=2.0.0
|
11 |
+
torchaudio>=2.0.0
|