Kalbe-x-Bangkit commited on
Commit
e3ec96a
·
verified ·
1 Parent(s): 0922f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -524,7 +524,7 @@ if uploaded_file is not None:
524
  with col2:
525
  # file_bytes = np.asarray(bytearray(uploaded_file.read()), dtype=np.uint8)
526
  # image = cv2.imdecode(file_bytes, 1)
527
- # if st.button('Auto Detect'):
528
  # st.write("Processing...")
529
  # input_image = preprocess_image(image)
530
  # pred_bbox, pred_label, pred_label_confidence = predict(model_detection, input_image)
 
524
  with col2:
525
  # file_bytes = np.asarray(bytearray(uploaded_file.read()), dtype=np.uint8)
526
  # image = cv2.imdecode(file_bytes, 1)
527
+ st.button('Auto Detect')
528
  # st.write("Processing...")
529
  # input_image = preprocess_image(image)
530
  # pred_bbox, pred_label, pred_label_confidence = predict(model_detection, input_image)