Spaces:
Sleeping
Sleeping
arslan-ahmed
commited on
Commit
•
95dd151
1
Parent(s):
709ee65
nasa app on openshift
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -13,7 +13,7 @@ COPY *.py /app/ttyd
|
|
13 |
ENV GRADIO_SERVER_NAME=0.0.0.0
|
14 |
|
15 |
# Install any needed packages specified in requirements.txt
|
16 |
-
|
17 |
|
18 |
#to be moved to ttyd_base image
|
19 |
RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2', cache_folder='./tmp/hfEmbModel')"
|
|
|
13 |
ENV GRADIO_SERVER_NAME=0.0.0.0
|
14 |
|
15 |
# Install any needed packages specified in requirements.txt
|
16 |
+
RUN pip install --no-cache-dir -r requirements.txt # already installed in base image
|
17 |
|
18 |
#to be moved to ttyd_base image
|
19 |
RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2', cache_folder='./tmp/hfEmbModel')"
|
requirements.txt
CHANGED
@@ -13,4 +13,4 @@ ibm-watson-machine-learning
|
|
13 |
ibm-generative-ai
|
14 |
html5lib
|
15 |
lxml
|
16 |
-
unstructured[all-docs]
|
|
|
13 |
ibm-generative-ai
|
14 |
html5lib
|
15 |
lxml
|
16 |
+
# unstructured[all-docs]
|