Nazhar commited on
Commit
bd2ff34
·
verified ·
1 Parent(s): bb91f46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -674,7 +674,7 @@ with final_recs:
674
 
675
 
676
  with chat:
677
- st.header("Chat with AI Stock Advisor")
678
 
679
  # loader = CSVLoader("Events_SameDay.csv",encoding='iso-8859-1')
680
 
@@ -725,7 +725,7 @@ with chat:
725
  chain_type_kwargs={"prompt": sys_prompt}) # Add prompt template
726
 
727
  # Add Container to display chat history
728
- chat_container = st.container(height = 300, border=False)
729
  with chat_container:
730
  # Initialize chat history
731
  if "messages" not in st.session_state:
@@ -737,7 +737,7 @@ with chat:
737
  st.markdown(message["content"])
738
 
739
 
740
- st.divider() # Divider to separate chat history and chat input
741
  # Accept user input
742
  if prompt := st.chat_input("Enter your query here.", key='input2'):
743
  # Add user message to chat history
 
674
 
675
 
676
  with chat:
677
+ # st.header("Chat with AI Stock Advisor")
678
 
679
  # loader = CSVLoader("Events_SameDay.csv",encoding='iso-8859-1')
680
 
 
725
  chain_type_kwargs={"prompt": sys_prompt}) # Add prompt template
726
 
727
  # Add Container to display chat history
728
+ chat_container = st.container(height = 265, border=False)
729
  with chat_container:
730
  # Initialize chat history
731
  if "messages" not in st.session_state:
 
737
  st.markdown(message["content"])
738
 
739
 
740
+ # st.divider() # Divider to separate chat history and chat input
741
  # Accept user input
742
  if prompt := st.chat_input("Enter your query here.", key='input2'):
743
  # Add user message to chat history