Spaces:
Build error
Build error
GPTfree api
commited on
Update Dockerfile
Browse files- Dockerfile +8 -8
Dockerfile
CHANGED
@@ -10,11 +10,15 @@ RUN apt-get update && apt-get install -y \
|
|
10 |
git \
|
11 |
&& rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
-
# Upgrade pip to handle metadata issues
|
14 |
-
RUN pip install --upgrade pip
|
15 |
|
16 |
-
# Install
|
17 |
-
RUN pip install
|
|
|
|
|
|
|
|
|
18 |
|
19 |
# Clone the repository
|
20 |
WORKDIR /app
|
@@ -23,10 +27,6 @@ RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-We
|
|
23 |
# Set the working directory to the cloned repo
|
24 |
WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
|
25 |
|
26 |
-
# Install fairseq and hydra-core separately to resolve dependencies
|
27 |
-
RUN pip install fairseq==0.12.2
|
28 |
-
RUN pip install hydra-core==1.0.7
|
29 |
-
|
30 |
# Install the remaining dependencies from requirements.txt
|
31 |
RUN pip install -r requirements.txt
|
32 |
|
|
|
10 |
git \
|
11 |
&& rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
+
# Upgrade pip to a compatible version to handle metadata issues
|
14 |
+
RUN pip install --upgrade pip==23.3
|
15 |
|
16 |
+
# Install fairseq and hydra-core separately to resolve dependencies
|
17 |
+
RUN pip install fairseq==0.12.2
|
18 |
+
RUN pip install hydra-core==1.0.7
|
19 |
+
|
20 |
+
# Install a compatible version of omegaconf manually
|
21 |
+
RUN pip install omegaconf==2.0.4
|
22 |
|
23 |
# Clone the repository
|
24 |
WORKDIR /app
|
|
|
27 |
# Set the working directory to the cloned repo
|
28 |
WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
|
29 |
|
|
|
|
|
|
|
|
|
30 |
# Install the remaining dependencies from requirements.txt
|
31 |
RUN pip install -r requirements.txt
|
32 |
|