7jimmy commited on
Commit
5d3c722
·
1 Parent(s): 76ebb93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- # Run the Streamlit app
74
- if __name__ == "__main__":
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: