CoolFace
Apppublic

Nehaa/PDF_QA

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
Dockerfile16 linesDownload Raw Back to root
1FROM python:3.92 3WORKDIR /code4 5COPY ./requirements.txt /code/requirements.txt6RUN python3 -m pip install --no-cache-dir --upgrade pip7RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt8 9COPY . .10 11CMD ["panel", "serve", "/code/LangChain_QA_Panel_App.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "nehaa-pdf-qa.hf.space",  "--allow-websocket-origin", "0.0.0.0:7860"]12 13RUN mkdir /.cache14RUN chmod 777 /.cache15RUN mkdir .chroma16RUN chmod 777 .chroma