Spaces:
Running
Running
update requirements.txt
Browse files- Dockerfile +1 -1
- Dockerfile-conda +1 -1
- requirements.txt +1 -0
Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM python:3.9.7
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
COPY requirements.txt .
|
5 |
-
RUN pip install -r requirements.txt
|
6 |
# preload models
|
7 |
RUN python -c '\
|
8 |
from transformers import BartForConditionalGeneration, AutoTokenizer;\
|
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
COPY requirements.txt .
|
5 |
+
RUN pip install -r --no-cache-dir requirements.txt
|
6 |
# preload models
|
7 |
RUN python -c '\
|
8 |
from transformers import BartForConditionalGeneration, AutoTokenizer;\
|
Dockerfile-conda
CHANGED
@@ -7,7 +7,7 @@ RUN apt-get update && \
|
|
7 |
RUN conda create --name fm4m python=3.9.7
|
8 |
RUN conda activate fm4m
|
9 |
COPY requirements.txt .
|
10 |
-
RUN pip install -r requirements.txt
|
11 |
COPY . .
|
12 |
|
13 |
CMD ["python", "app.py"]
|
|
|
7 |
RUN conda create --name fm4m python=3.9.7
|
8 |
RUN conda activate fm4m
|
9 |
COPY requirements.txt .
|
10 |
+
RUN pip install -r --no-cache-dir requirements.txt
|
11 |
COPY . .
|
12 |
|
13 |
CMD ["python", "app.py"]
|
requirements.txt
CHANGED
@@ -29,3 +29,4 @@ pandas==2.2.3
|
|
29 |
mordred
|
30 |
ase==3.24.0
|
31 |
torch_nl==0.3
|
|
|
|
29 |
mordred
|
30 |
ase==3.24.0
|
31 |
torch_nl==0.3
|
32 |
+
torch_scatter==2.1.2
|