Spaces:
Running
Running
from condaforge/mambaforge | |
ENV MPLCONFIGDIR=".config/matplotlib" | |
RUN git clone https://github.com/szymonrucinski/AiRoll | |
WORKDIR /AiRoll | |
RUN git clone https://huggingface.co/szymonrucinski/what-a-shot | |
RUN ls | |
RUN mv ./what-a-shot ./model | |
RUN conda env create -f environment.yaml && conda info | |
SHELL ["conda", "run", "-n", "airoll", "/bin/bash", "-c"] | |
EXPOSE 7860 | |
CMD ["conda", "run", "-n", "airoll", "python", "start_api.py"] | |