Spaces:
Running
Running
Update app.py
Browse files
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="
|
492 |
has_predicted = True
|
493 |
elif status and food_vision:
|
494 |
-
result_class = predict_using_model(uploaded_image, model_path="
|
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)
|