Spaces:
Runtime error
Runtime error
Luisnguyen1
commited on
Commit
·
6e850af
1
Parent(s):
5a37cf9
- Dockerfile +5 -2
- requirements.txt +0 -0
Dockerfile
CHANGED
|
@@ -47,9 +47,12 @@ RUN cd LAVIS \
|
|
| 47 |
&& python3.11 -m pip install --no-cache-dir -e .
|
| 48 |
|
| 49 |
# Copy requirements files and install dependencies
|
| 50 |
-
# Note: We'll install without replacing transformers
|
| 51 |
COPY requirements.txt .
|
| 52 |
-
RUN pip install --no-cache-dir --no-deps -r requirements.txt
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
# Copy application files
|
| 55 |
COPY app.py ./
|
|
|
|
| 47 |
&& python3.11 -m pip install --no-cache-dir -e .
|
| 48 |
|
| 49 |
# Copy requirements files and install dependencies
|
| 50 |
+
# Note: We'll install without replacing transformers and skip problematic packages
|
| 51 |
COPY requirements.txt .
|
| 52 |
+
RUN pip install --no-cache-dir --no-deps -r requirements.txt || true \
|
| 53 |
+
&& pip install --no-cache-dir flask torch torchvision torchaudio transformers \
|
| 54 |
+
&& pip install --no-cache-dir pillow opencv-python requests numpy pandas \
|
| 55 |
+
&& pip install --no-cache-dir scikit-image matplotlib seaborn tqdm
|
| 56 |
|
| 57 |
# Copy application files
|
| 58 |
COPY app.py ./
|
requirements.txt
CHANGED
|
Binary files a/requirements.txt and b/requirements.txt differ
|
|
|