Spaces:
Sleeping
Sleeping
working front-end
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
##############################################################
|
2 |
-
# app.py - PDF Chat
|
3 |
#
|
4 |
# HuggingFace Spaces application
|
5 |
#
|
@@ -116,7 +116,7 @@ def handle_userinput(user_question):
|
|
116 |
def main():
|
117 |
|
118 |
# load_dotenv()
|
119 |
-
st.set_page_config(page_title="
|
120 |
page_icon=":books:")
|
121 |
|
122 |
st.write(css, unsafe_allow_html=True)
|
@@ -126,9 +126,9 @@ def main():
|
|
126 |
if "chat_history" not in st.session_state:
|
127 |
st.session_state.chat_history = None
|
128 |
|
129 |
-
st.header("
|
130 |
|
131 |
-
user_question = st.text_input("Ask a question about your documents:")
|
132 |
if user_question:
|
133 |
handle_userinput(user_question)
|
134 |
|
|
|
1 |
##############################################################
|
2 |
+
# app.py - Pennwick PDF Chat
|
3 |
#
|
4 |
# HuggingFace Spaces application
|
5 |
#
|
|
|
116 |
def main():
|
117 |
|
118 |
# load_dotenv()
|
119 |
+
st.set_page_config(page_title="Pennwick PDF Analyzer",
|
120 |
page_icon=":books:")
|
121 |
|
122 |
st.write(css, unsafe_allow_html=True)
|
|
|
126 |
if "chat_history" not in st.session_state:
|
127 |
st.session_state.chat_history = None
|
128 |
|
129 |
+
st.header("Pennwick File Analyzer :books:")
|
130 |
|
131 |
+
user_question = st.text_input("Ask the Model a question about your uploaded documents:")
|
132 |
if user_question:
|
133 |
handle_userinput(user_question)
|
134 |
|