Spaces:
Running
Running
Mr-Vicky-01
commited on
Commit
•
29f9704
1
Parent(s):
275c15a
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ 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.'}]
|
104 |
|
105 |
for message in st.session_state.messages:
|
106 |
with st.chat_message(message['role'], avatar=icons[message['role']]):
|
|
|
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/Youtube Video link and ask me anything about the content.'}]
|
104 |
|
105 |
for message in st.session_state.messages:
|
106 |
with st.chat_message(message['role'], avatar=icons[message['role']]):
|