AbdullahAj2000 commited on
Commit
e2e0475
·
verified ·
1 Parent(s): aba4aa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def show_preds_image(image_path,model_selection):
95
  text_y = int(height / 2)
96
  font_scale = 2
97
  cv2.putText(img, mux_value, (text_x, text_y), cv2.FONT_HERSHEY_SIMPLEX, font_scale, (255, 0, 0), 2, cv2.LINE_AA)"""
98
- mg = cv2.imread(image_path)
99
  img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
100
  img = cv2.resize(img, (224, 224))
101
  height, width, _ = img.shape
 
95
  text_y = int(height / 2)
96
  font_scale = 2
97
  cv2.putText(img, mux_value, (text_x, text_y), cv2.FONT_HERSHEY_SIMPLEX, font_scale, (255, 0, 0), 2, cv2.LINE_AA)"""
98
+ img = cv2.imread(image_path)
99
  img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
100
  img = cv2.resize(img, (224, 224))
101
  height, width, _ = img.shape