Spaces:
Sleeping
Sleeping
Mr-Vicky-01
commited on
Commit
•
7a00920
1
Parent(s):
8dca813
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ st.title("Chat with your PDF📄")
|
|
83 |
st.markdown("**Built by [Pachaiappan❤️](https://github.com/Mr-Vicky-01)**")
|
84 |
|
85 |
if 'messages' not in st.session_state:
|
86 |
-
st.session_state.messages = [{'role': 'assistant', "content": 'Hello! Upload a PDF and ask me anything about
|
87 |
|
88 |
for message in st.session_state.messages:
|
89 |
with st.chat_message(message['role'], avatar=icons[message['role']]):
|
|
|
83 |
st.markdown("**Built by [Pachaiappan❤️](https://github.com/Mr-Vicky-01)**")
|
84 |
|
85 |
if 'messages' not in st.session_state:
|
86 |
+
st.session_state.messages = [{'role': 'assistant', "content": 'Hello! Upload a PDF and ask me anything about the content.'}]
|
87 |
|
88 |
for message in st.session_state.messages:
|
89 |
with st.chat_message(message['role'], avatar=icons[message['role']]):
|