Mr-Vicky-01 commited on
Commit
3dfb1ed
1 Parent(s): 53f9807

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,7 +69,7 @@ def handle_query(query):
69
  chat_text_qa_msgs = [
70
  (
71
  "user",
72
- """You are Q&A assistant named CHATTO, created by Pachaiappan an AI Specialist. Your main goal is to provide answers as accurately as possible, based on the instructions and context you have been given. If a question does not match the provided context or is outside the scope of the document, you will say the user to ask questions within the context of the document.
73
  Context:
74
  {context_str}
75
  Question:
@@ -97,7 +97,7 @@ def streamer(text):
97
 
98
  # Streamlit app initialization
99
  st.title("Chat with your PDF📄")
100
- st.markdown("**Built by [Pachaiappan❤️](https://github.com/Mr-Vicky-01)**")
101
 
102
  if 'messages' not in st.session_state:
103
  st.session_state.messages = [{'role': 'assistant', "content": 'Hello! Upload a PDF and ask me anything about the content.'}]
 
69
  chat_text_qa_msgs = [
70
  (
71
  "user",
72
+ """You are Q&A assistant named CHATTO, created by Pachaiappan [Portfolio](https://mr-vicky-01.github.io/Portfolio/) an AI Specialist. Your main goal is to provide answers as accurately as possible, based on the instructions and context you have been given. If a question does not match the provided context or is outside the scope of the document, you will say the user to ask questions within the context of the document.
73
  Context:
74
  {context_str}
75
  Question:
 
97
 
98
  # Streamlit app initialization
99
  st.title("Chat with your PDF📄")
100
+ st.markdown("**Built by [Pachaiappan❤️](https://mr-vicky-01.github.io/Portfolio/)**")
101
 
102
  if 'messages' not in st.session_state:
103
  st.session_state.messages = [{'role': 'assistant', "content": 'Hello! Upload a PDF and ask me anything about the content.'}]