suriya7 commited on
Commit
267ea42
1 Parent(s): 3b231e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -68,9 +68,9 @@ def conversational_chat(query):
68
  st.session_state['history'].append((query, result))
69
  return result
70
 
71
- st.title("Chat Bot:")
72
- st.text("I am Chatto Your Friendly Assitant")
73
- st.markdown("Built by [Suriya❤️](https://github.com/theSuriya)")
74
 
75
  if 'history' not in st.session_state:
76
  st.session_state['history'] = []
@@ -108,7 +108,7 @@ def get_url_text(url_link):
108
 
109
 
110
  with st.sidebar:
111
- st.title("Add a file for Chatto memory:")
112
  uploaded_files = st.file_uploader("Upload your PDF Files and Click on the Submit & Process Button", accept_multiple_files=True)
113
  uploaded_url = st.text_input("Please upload a URL:")
114
 
@@ -139,8 +139,8 @@ if user_input:
139
  st.session_state.messages.append({'role': 'user', "content": user_input})
140
  with st.chat_message("user"):
141
  st.write(user_input)
142
- with st.spinner("Thinking..."):
143
- response = conversational_chat(user_input)
144
  # stream = response_streaming(response)
145
 
146
  with st.chat_message("assistant"):
 
68
  st.session_state['history'].append((query, result))
69
  return result
70
 
71
+ st.title("GenXai- Generative Xpert AI ")
72
+ st.text("I am GenXai Your Friendly Assitant")
73
+ # st.markdown("Built by [Suriya❤️](https://github.com/theSuriya)")
74
 
75
  if 'history' not in st.session_state:
76
  st.session_state['history'] = []
 
108
 
109
 
110
  with st.sidebar:
111
+ st.title("Add a file for GenXai memory:")
112
  uploaded_files = st.file_uploader("Upload your PDF Files and Click on the Submit & Process Button", accept_multiple_files=True)
113
  uploaded_url = st.text_input("Please upload a URL:")
114
 
 
139
  st.session_state.messages.append({'role': 'user', "content": user_input})
140
  with st.chat_message("user"):
141
  st.write(user_input)
142
+ with st.spinner("Thinking..."):
143
+ response = conversational_chat(user_input)
144
  # stream = response_streaming(response)
145
 
146
  with st.chat_message("assistant"):