shrut27 commited on
Commit
33ad6c3
·
1 Parent(s): bfdb9ce

Update food_rec.py

Browse files
Files changed (1) hide show
  1. food_rec.py +1 -4
food_rec.py CHANGED
@@ -46,7 +46,7 @@ def eng_func():
46
  - foods for diabetes Korean''')
47
 
48
  # Streamlit app
49
- def main():
50
  target_language = "ko" # Set the target language to Korean
51
 
52
  col1, col2 = st.columns(2)
@@ -75,6 +75,3 @@ def main():
75
  st.write(translated_recommendation)
76
  else:
77
  st.warning("Please enter your request.")
78
-
79
- if __name__ == "__main__":
80
- main()
 
46
  - foods for diabetes Korean''')
47
 
48
  # Streamlit app
49
+ def app():
50
  target_language = "ko" # Set the target language to Korean
51
 
52
  col1, col2 = st.columns(2)
 
75
  st.write(translated_recommendation)
76
  else:
77
  st.warning("Please enter your request.")