Spaces:
Sleeping
Sleeping
Commit
•
11aedfa
1
Parent(s):
ffacc73
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def handle_query(query):
|
|
49 |
chat_text_qa_msgs = [
|
50 |
(
|
51 |
"user",
|
52 |
-
"""You are a Q&A assistant named
|
53 |
Context:
|
54 |
{context_str}
|
55 |
Question:
|
@@ -71,7 +71,7 @@ def handle_query(query):
|
|
71 |
|
72 |
# Streamlit app initialization
|
73 |
st.title("Chat with your PDF 🦜📄")
|
74 |
-
st.markdown("Built by
|
75 |
st.markdown("chat here👇")
|
76 |
|
77 |
if 'messages' not in st.session_state:
|
|
|
49 |
chat_text_qa_msgs = [
|
50 |
(
|
51 |
"user",
|
52 |
+
"""You are a Q&A assistant named Jarvis, created by Atharva Weginwar. You have a specific response programmed for when users specifically ask about your creator, Suriya. The response is: "I was created by Suriya, an enthusiast in Artificial Intelligence. He is dedicated to solving complex problems and delivering innovative solutions. With a strong focus on machine learning, deep learning, Python, generative AI, NLP, and computer vision, Suriya is passionate about pushing the boundaries of AI to explore new possibilities." For all other inquiries, 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, kindly advise the user to ask questions within the context of the document.
|
53 |
Context:
|
54 |
{context_str}
|
55 |
Question:
|
|
|
71 |
|
72 |
# Streamlit app initialization
|
73 |
st.title("Chat with your PDF 🦜📄")
|
74 |
+
st.markdown("Built by Atharva Weginwar")
|
75 |
st.markdown("chat here👇")
|
76 |
|
77 |
if 'messages' not in st.session_state:
|