rjelbruiz320 commited on
Commit
72a4151
·
verified ·
1 Parent(s): f1c7931

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- # ---- USTP COLOR THEME ----
7
  USTP_BLUE = "#0A2240"
8
  USTP_YELLOW = "#FDB813"
9
 
10
- # ---- CUSTOM STYLES ----
11
  st.markdown(
12
  f"""
13
  <style>
@@ -49,10 +49,10 @@ st.markdown(
49
  unsafe_allow_html=True
50
  )
51
 
52
- # ---- TITLE ----
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 2021 USTP Student Handbook</div>',
56
  unsafe_allow_html=True
57
  )
58
 
@@ -64,7 +64,7 @@ def get_handbook_text():
64
 
65
  handbook_text = get_handbook_text()
66
 
67
- # ---- INPUT AREA ----
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