Recompense commited on
Commit
b1d210e
·
verified ·
1 Parent(s): 6b2d096

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -488,10 +488,10 @@ with st.container():
488
  status = st.button(label="Predict Using Image", icon="⚛️", type="primary")
489
  if status and model_mini:
490
  result_class = predict_using_model(uploaded_image,
491
- model_path="models/model_mini_Food101.keras")
492
  has_predicted = True
493
  elif status and food_vision:
494
- result_class = predict_using_model(uploaded_image, model_path="models/FoodVision.keras")
495
  has_predicted = True
496
 
497
  st.markdown('</div>', unsafe_allow_html=True)
 
488
  status = st.button(label="Predict Using Image", icon="⚛️", type="primary")
489
  if status and model_mini:
490
  result_class = predict_using_model(uploaded_image,
491
+ model_path="model_mini_Food101.keras")
492
  has_predicted = True
493
  elif status and food_vision:
494
+ result_class = predict_using_model(uploaded_image, model_path="FoodVision.keras")
495
  has_predicted = True
496
 
497
  st.markdown('</div>', unsafe_allow_html=True)