CrimsonREwind commited on
Commit
ec4f4d5
·
verified ·
1 Parent(s): 0a9acbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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