Spaces:
Running
Running
- Corriger.py +0 -2
- Dockerfile +1 -0
Corriger.py
CHANGED
@@ -76,8 +76,6 @@ elif authentication_status:
|
|
76 |
dict_kernel_type = {"Ellipse": cv2.MORPH_ELLIPSE, "Rectangle": cv2.MORPH_RECT, "Cross": cv2.MORPH_CROSS}
|
77 |
kernel_type = dict_kernel_type[kernel_type_str]
|
78 |
|
79 |
-
os.mkdir("images")
|
80 |
-
|
81 |
for uploaded_file in uploaded_files:
|
82 |
col1, col2, col3 = st.columns([1, 1, 1])
|
83 |
col3.markdown("---")
|
|
|
76 |
dict_kernel_type = {"Ellipse": cv2.MORPH_ELLIPSE, "Rectangle": cv2.MORPH_RECT, "Cross": cv2.MORPH_CROSS}
|
77 |
kernel_type = dict_kernel_type[kernel_type_str]
|
78 |
|
|
|
|
|
79 |
for uploaded_file in uploaded_files:
|
80 |
col1, col2, col3 = st.columns([1, 1, 1])
|
81 |
col3.markdown("---")
|
Dockerfile
CHANGED
@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|
12 |
&& rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
WORKDIR /moulinette
|
|
|
15 |
COPY . .
|
16 |
RUN echo $(ls -1 .. )
|
17 |
|
|
|
12 |
&& rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
WORKDIR /moulinette
|
15 |
+
RUN mkdir /moulinette/images
|
16 |
COPY . .
|
17 |
RUN echo $(ls -1 .. )
|
18 |
|