Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
|
3 |
+
RUN pip install --no-cache faiss-cpu langchain-community gradio sentence-transformers
|
4 |
+
COPY vectorstore/ /code/vectorstore/
|
5 |
+
|
6 |
+
WORKDIR /code/app
|
7 |
+
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
8 |
+
EXPOSE 7860
|
9 |
+
|
10 |
+
CMD [ "gradio", "app.py" ]
|