Sobit commited on
Commit
1fb1922
Β·
verified Β·
1 Parent(s): 8c4400d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -171,7 +171,7 @@ if uploaded_file:
171
  img = cv2.imdecode(file_bytes, 1)
172
 
173
  # Perform inference
174
- processed_image, detected_classes, class_names = inference(img)
175
 
176
  # Display processed image with detected diseases
177
  st.image(processed_image, caption="πŸ” Detected Diseases", use_column_width=True)
 
171
  img = cv2.imdecode(file_bytes, 1)
172
 
173
  # Perform inference
174
+ processed_image, detected_classes, class_names, confidence_scores = inference(img)
175
 
176
  # Display processed image with detected diseases
177
  st.image(processed_image, caption="πŸ” Detected Diseases", use_column_width=True)