Spaces:
Sleeping
Sleeping
Rúben Almeida
commited on
Commit
·
339d730
1
Parent(s):
3081464
Confits in pip packaging
Browse files- Dockerfile +1 -1
- requirements.txt +1 -2
Dockerfile
CHANGED
@@ -17,7 +17,7 @@ RUN pip install -U torch torchvision torchaudio
|
|
17 |
COPY requirements.txt .
|
18 |
|
19 |
# Install the dependencies
|
20 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
# Copy the rest of the application code into the container
|
23 |
COPY . .
|
|
|
17 |
COPY requirements.txt .
|
18 |
|
19 |
# Install the dependencies
|
20 |
+
RUN pip install -U --no-cache-dir -r requirements.txt
|
21 |
|
22 |
# Copy the rest of the application code into the container
|
23 |
COPY . .
|
requirements.txt
CHANGED
@@ -6,10 +6,9 @@ setuptools
|
|
6 |
wheel
|
7 |
pydantic
|
8 |
fastapi[standard]>=0.115.12
|
9 |
-
transformers
|
10 |
huggingface_hub
|
11 |
autoawq[kernels]>=0.2.8
|
12 |
-
starlette>=0.46.2
|
13 |
pytest
|
14 |
requests
|
15 |
environs
|
|
|
6 |
wheel
|
7 |
pydantic
|
8 |
fastapi[standard]>=0.115.12
|
9 |
+
transformers
|
10 |
huggingface_hub
|
11 |
autoawq[kernels]>=0.2.8
|
|
|
12 |
pytest
|
13 |
requests
|
14 |
environs
|