Update app.py
Browse files
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 |
-
|
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)
|