Spaces:
Sleeping
Sleeping
from condaforge/mambaforge | |
ENV MPLCONFIGDIR=".config/matplotlib" | |
RUN mkdir -m 777 .cache .config ./flagged | |
RUN apt-get install git-lfs | |
RUN git lfs clone https://github.com/szymonrucinski/AiRoll | |
WORKDIR /AiRoll | |
RUN apt update | |
RUN git lfs 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 | |
RUN mamba init bash | |
RUN mkdir -m 777 flagged | |
EXPOSE 7860 | |
CMD ["mamba", "run", "-n", "airoll", "gradio", "start_api.py"] |