Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,11 +3,11 @@ from utils import answer_question, load_handbook_text
|
|
| 3 |
|
| 4 |
st.set_page_config(page_title="USTP Student Handbook Chatbot", page_icon="🎓")
|
| 5 |
|
| 6 |
-
#
|
| 7 |
USTP_BLUE = "#0A2240"
|
| 8 |
USTP_YELLOW = "#FDB813"
|
| 9 |
|
| 10 |
-
#
|
| 11 |
st.markdown(
|
| 12 |
f"""
|
| 13 |
<style>
|
|
@@ -49,10 +49,10 @@ st.markdown(
|
|
| 49 |
unsafe_allow_html=True
|
| 50 |
)
|
| 51 |
|
| 52 |
-
#
|
| 53 |
st.markdown('<div class="main-title">USTP Student Handbook Chatbot</div>', unsafe_allow_html=True)
|
| 54 |
st.markdown(
|
| 55 |
-
'<div class="subtitle">Ask questions about the
|
| 56 |
unsafe_allow_html=True
|
| 57 |
)
|
| 58 |
|
|
@@ -64,7 +64,7 @@ def get_handbook_text():
|
|
| 64 |
|
| 65 |
handbook_text = get_handbook_text()
|
| 66 |
|
| 67 |
-
#
|
| 68 |
st.markdown("### Type your question below:")
|
| 69 |
query = st.text_input("")
|
| 70 |
|
|
|
|
| 3 |
|
| 4 |
st.set_page_config(page_title="USTP Student Handbook Chatbot", page_icon="🎓")
|
| 5 |
|
| 6 |
+
#Color Themes of USTP
|
| 7 |
USTP_BLUE = "#0A2240"
|
| 8 |
USTP_YELLOW = "#FDB813"
|
| 9 |
|
| 10 |
+
#Inserting CSS code to improve colors
|
| 11 |
st.markdown(
|
| 12 |
f"""
|
| 13 |
<style>
|
|
|
|
| 49 |
unsafe_allow_html=True
|
| 50 |
)
|
| 51 |
|
| 52 |
+
#Title bar
|
| 53 |
st.markdown('<div class="main-title">USTP Student Handbook Chatbot</div>', unsafe_allow_html=True)
|
| 54 |
st.markdown(
|
| 55 |
+
'<div class="subtitle">Ask questions about the USTP Student Handbook</div>',
|
| 56 |
unsafe_allow_html=True
|
| 57 |
)
|
| 58 |
|
|
|
|
| 64 |
|
| 65 |
handbook_text = get_handbook_text()
|
| 66 |
|
| 67 |
+
#Input area
|
| 68 |
st.markdown("### Type your question below:")
|
| 69 |
query = st.text_input("")
|
| 70 |
|