Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,8 @@ def train_model(food_path, label_func):
|
|
30 |
|
31 |
return learn
|
32 |
|
|
|
|
|
33 |
# Streamlit app
|
34 |
def main():
|
35 |
st.title("Food Classifier Streamlit App")
|
@@ -70,9 +72,8 @@ def main():
|
|
70 |
|
71 |
# ... (rest of the code remains unchanged)
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
main()
|
76 |
|
77 |
if uploaded_files:
|
78 |
for img in uploaded_files:
|
|
|
30 |
|
31 |
return learn
|
32 |
|
33 |
+
# ... (previous code)
|
34 |
+
|
35 |
# Streamlit app
|
36 |
def main():
|
37 |
st.title("Food Classifier Streamlit App")
|
|
|
72 |
|
73 |
# ... (rest of the code remains unchanged)
|
74 |
|
75 |
+
|
76 |
+
|
|
|
77 |
|
78 |
if uploaded_files:
|
79 |
for img in uploaded_files:
|