Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,8 @@ quality = st.slider("Select image quality (1-100)", min_value=1, max_value=100,
|
|
23 |
if st.button("Resize Images"):
|
24 |
resized_images = []
|
25 |
progress_bar = st.progress(0)
|
26 |
-
|
27 |
-
|
28 |
img_array = np.frombuffer(file.getvalue(), np.uint8)
|
29 |
img = cv2.imdecode(img_array, cv2.IMREAD_COLOR)
|
30 |
|
|
|
23 |
if st.button("Resize Images"):
|
24 |
resized_images = []
|
25 |
progress_bar = st.progress(0)
|
26 |
+
|
27 |
+
for i, file in enumerate(uploaded_files):
|
28 |
img_array = np.frombuffer(file.getvalue(), np.uint8)
|
29 |
img = cv2.imdecode(img_array, cv2.IMREAD_COLOR)
|
30 |
|