Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files- .pre-commit-config.yaml +1 -1
- Dockerfile +4 -3
.pre-commit-config.yaml
CHANGED
@@ -21,7 +21,7 @@ repos:
|
|
21 |
- id: docformatter
|
22 |
args: ['--in-place']
|
23 |
- repo: https://github.com/pycqa/isort
|
24 |
-
rev: 5.
|
25 |
hooks:
|
26 |
- id: isort
|
27 |
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
21 |
- id: docformatter
|
22 |
args: ['--in-place']
|
23 |
- repo: https://github.com/pycqa/isort
|
24 |
+
rev: 5.12.0
|
25 |
hooks:
|
26 |
- id: isort
|
27 |
- repo: https://github.com/pre-commit/mirrors-mypy
|
Dockerfile
CHANGED
@@ -31,7 +31,7 @@ WORKDIR ${HOME}/app
|
|
31 |
|
32 |
RUN curl https://pyenv.run | bash
|
33 |
ENV PATH=${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:${PATH}
|
34 |
-
|
35 |
RUN pyenv install ${PYTHON_VERSION} && \
|
36 |
pyenv global ${PYTHON_VERSION} && \
|
37 |
pyenv rehash && \
|
@@ -45,9 +45,10 @@ RUN pip install --no-cache-dir \
|
|
45 |
RUN pip install --no-cache-dir -U \
|
46 |
numpy==1.23.5 \
|
47 |
scikit-image==0.19.2 \
|
48 |
-
opencv-python-headless==4.
|
|
|
49 |
colored==1.4.4
|
50 |
-
RUN pip install --no-cache-dir -U gradio==3.
|
51 |
|
52 |
COPY --chown=1000 . ${HOME}/app
|
53 |
RUN cd CutLER && patch -p1 < ../patch
|
|
|
31 |
|
32 |
RUN curl https://pyenv.run | bash
|
33 |
ENV PATH=${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:${PATH}
|
34 |
+
ARG PYTHON_VERSION=3.10.11
|
35 |
RUN pyenv install ${PYTHON_VERSION} && \
|
36 |
pyenv global ${PYTHON_VERSION} && \
|
37 |
pyenv rehash && \
|
|
|
45 |
RUN pip install --no-cache-dir -U \
|
46 |
numpy==1.23.5 \
|
47 |
scikit-image==0.19.2 \
|
48 |
+
opencv-python-headless==4.8.0.74 \
|
49 |
+
Pillow==9.5.0 \
|
50 |
colored==1.4.4
|
51 |
+
RUN pip install --no-cache-dir -U gradio==3.36.1
|
52 |
|
53 |
COPY --chown=1000 . ${HOME}/app
|
54 |
RUN cd CutLER && patch -p1 < ../patch
|