ruminasval commited on
Commit
09c1e1b
·
verified ·
1 Parent(s): efebb94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ if uploaded_file is not None:
86
 
87
  try:
88
  with st.spinner('Analyzing...'):
89
- prediction = predict(cv2.cvtColor(img_array, cv2.COLOR_RGB2BGR))
90
  recommendation = glasses_recommendations[prediction]
91
 
92
  st.success(f"Predicted Face Shape: **{prediction}**")
 
86
 
87
  try:
88
  with st.spinner('Analyzing...'):
89
+ prediction = predict_face_shape(cv2.cvtColor(img_array, cv2.COLOR_RGB2BGR))
90
  recommendation = glasses_recommendations[prediction]
91
 
92
  st.success(f"Predicted Face Shape: **{prediction}**")