Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,12 +71,12 @@ def handle_userinput(user_question:str):
|
|
| 71 |
|
| 72 |
def main():
|
| 73 |
st.set_page_config(
|
| 74 |
-
page_title="Chat with
|
| 75 |
page_icon=":books:",
|
| 76 |
)
|
| 77 |
|
| 78 |
-
st.markdown("# Chat with a Bot")
|
| 79 |
-
st.markdown("This bot tries to answer questions about multiple PDFs. Let the processing of the PDF finish before adding your question. ππΎ")
|
| 80 |
|
| 81 |
st.write(css, unsafe_allow_html=True)
|
| 82 |
|
|
@@ -87,8 +87,8 @@ def main():
|
|
| 87 |
st.session_state.chat_history = None
|
| 88 |
|
| 89 |
|
| 90 |
-
st.header("Chat with
|
| 91 |
-
user_question = st.text_input("Ask a question
|
| 92 |
if user_question:
|
| 93 |
handle_userinput(user_question)
|
| 94 |
|
|
|
|
| 71 |
|
| 72 |
def main():
|
| 73 |
st.set_page_config(
|
| 74 |
+
page_title="Chat with your Document!",
|
| 75 |
page_icon=":books:",
|
| 76 |
)
|
| 77 |
|
| 78 |
+
#st.markdown("# Chat with a Bot")
|
| 79 |
+
#st.markdown("This bot tries to answer questions about multiple PDFs. Let the processing of the PDF finish before adding your question. ππΎ")
|
| 80 |
|
| 81 |
st.write(css, unsafe_allow_html=True)
|
| 82 |
|
|
|
|
| 87 |
st.session_state.chat_history = None
|
| 88 |
|
| 89 |
|
| 90 |
+
st.header("Chat with your Document! π€")
|
| 91 |
+
user_question = st.text_input("Ask a question related to your document:")
|
| 92 |
if user_question:
|
| 93 |
handle_userinput(user_question)
|
| 94 |
|