onemriganka commited on
Commit
0120a09
Β·
1 Parent(s): 232e1ea

Update app.py

Browse files

name and header changed

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -40,12 +40,12 @@ def user_input(user_question):
40
  st.session_state.chatHistory = response['chat_history']
41
  for i, message in enumerate(st.session_state.chatHistory):
42
  if i%2 == 0:
43
- st.write("Human: ", message.content)
44
  else:
45
- st.write("Bot: ", message.content)
46
  def main():
47
- st.set_page_config("Chat with Multiple PDFs")
48
- st.header("Chat with Multiple PDF πŸ’¬")
49
  user_question = st.text_input("Ask a Question from the PDF Files")
50
  if "conversation" not in st.session_state:
51
  st.session_state.conversation = None
 
40
  st.session_state.chatHistory = response['chat_history']
41
  for i, message in enumerate(st.session_state.chatHistory):
42
  if i%2 == 0:
43
+ st.write("Me: ", message.content)
44
  else:
45
+ st.write("mGPT: ", message.content)
46
  def main():
47
+ st.set_page_config("palm2 pdf ")
48
+ st.header("Hi , ask me anything from your pdf 😎 ")
49
  user_question = st.text_input("Ask a Question from the PDF Files")
50
  if "conversation" not in st.session_state:
51
  st.session_state.conversation = None