Kalbe-x-Bangkit commited on
Commit
3a91177
·
verified ·
1 Parent(s): 3b5c8d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -428,9 +428,6 @@ if uploaded_file is not None:
428
  img_array = np.uint8(img_array) # Convert to uint8
429
  img = Image.fromarray(img_array)
430
 
431
- file_bytes = np.asarray(bytearray(uploaded_detection.read()), dtype=np.uint8)
432
- image = cv2.imdecode(file_bytes, 1)
433
-
434
  # st.image(image, caption='Uploaded Image.', use_column_width=True)
435
 
436
  col1, col2 = st.columns(2)
 
428
  img_array = np.uint8(img_array) # Convert to uint8
429
  img = Image.fromarray(img_array)
430
 
 
 
 
431
  # st.image(image, caption='Uploaded Image.', use_column_width=True)
432
 
433
  col1, col2 = st.columns(2)