Mohamed-BC commited on
Commit
3ebf37d
·
verified ·
1 Parent(s): ebe0573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ def main():
22
  </style>
23
  """
24
  st.set_page_config(page_title='Articles Recommender')
25
- st.markdown(styles, unsafe_allow_html=True)
26
  # Initialize session state for login status
27
  if "logged_in" not in st.session_state:
28
  st.session_state.logged_in = False
@@ -52,7 +52,7 @@ def main():
52
  btn = st.button('Search')
53
  if btn and query:
54
  with st.spinner('Searching...'):
55
- st.write_stream(recommend(query))
56
  # Example: Provide a logout button
57
  if st.sidebar.button("Logout"):
58
  st.session_state.logged_in = False
 
22
  </style>
23
  """
24
  st.set_page_config(page_title='Articles Recommender')
25
+ # st.markdown(styles, unsafe_allow_html=True)
26
  # Initialize session state for login status
27
  if "logged_in" not in st.session_state:
28
  st.session_state.logged_in = False
 
52
  btn = st.button('Search')
53
  if btn and query:
54
  with st.spinner('Searching...'):
55
+ st.write(recommend(query))
56
  # Example: Provide a logout button
57
  if st.sidebar.button("Logout"):
58
  st.session_state.logged_in = False