Spaces:
Sleeping
Sleeping
Changed classification model
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -3,17 +3,20 @@ FROM python:3.10-slim
|
|
3 |
|
4 |
# Install system dependencies
|
5 |
RUN apt-get update && \
|
6 |
-
apt-get install -y wget ffmpeg unzip curl gcc
|
7 |
rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
# Set working directory
|
10 |
WORKDIR /app
|
|
|
11 |
|
12 |
# Copy your code into the container
|
13 |
COPY . .
|
14 |
|
15 |
# Install Python dependencies
|
16 |
RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
|
|
|
17 |
|
18 |
|
19 |
|
|
|
3 |
|
4 |
# Install system dependencies
|
5 |
RUN apt-get update && \
|
6 |
+
apt-get install -y wget ffmpeg unzip curl gcc && \
|
7 |
rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
# Set working directory
|
10 |
WORKDIR /app
|
11 |
+
# portaudio19-dev
|
12 |
|
13 |
# Copy your code into the container
|
14 |
COPY . .
|
15 |
|
16 |
# Install Python dependencies
|
17 |
RUN pip install --upgrade pip && pip install -r requirements.txt
|
18 |
+
RUN pip install --no-cache-dir torch==2.2.0+cpu torchvision==0.17.0+cpu torchaudio==2.2.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
19 |
+
|
20 |
|
21 |
|
22 |
|