nkasmanoff commited on
Commit
ac02d5d
ยท
1 Parent(s): 3fb3c57
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -3,7 +3,7 @@ from rag import answer_question
3
 
4
  # Set page config
5
  st.set_page_config(
6
- page_title="Cory Booker's Historic Filibuster RAG", page_icon="๐Ÿ‡บ๐Ÿ‡ธ", layout="wide"
7
  )
8
 
9
  # Custom CSS
@@ -72,7 +72,7 @@ st.markdown(
72
  )
73
 
74
  # Header with American flag emoji
75
- st.title("๐Ÿ‡บ๐Ÿ‡ธ Cory Booker's Historic Filibuster RAG")
76
 
77
 
78
  st.markdown(
@@ -89,8 +89,8 @@ st.markdown(
89
  st.markdown(
90
  """
91
  <div style='background-color: #ffffff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-top: 20px;'>
92
- <h2 class="section-title">Explore the Filibuster</h2>
93
- <p class="section-text">Ask questions about Senator Booker's historic <span class="highlight-text">25-hour filibuster</span> speech below:</p>
94
  </div>
95
  """,
96
  unsafe_allow_html=True,
@@ -99,11 +99,11 @@ st.markdown(
99
  text = st.text_area(
100
  "Your Question",
101
  height=150,
102
- placeholder="What would you like to know about Senator Booker's historic filibuster?",
103
  )
104
 
105
  if st.button("Search", key="search_button"):
106
- with st.spinner("Searching through the historic filibuster transcript..."):
107
  response = answer_question(text)
108
  st.markdown(
109
  """
 
3
 
4
  # Set page config
5
  st.set_page_config(
6
+ page_title="Cory Booker's Marathon Speech", page_icon="๐Ÿ‡บ๐Ÿ‡ธ", layout="wide"
7
  )
8
 
9
  # Custom CSS
 
72
  )
73
 
74
  # Header with American flag emoji
75
+ st.title("๐Ÿ‡บ๐Ÿ‡ธ Cory Booker's Historic Speech")
76
 
77
 
78
  st.markdown(
 
89
  st.markdown(
90
  """
91
  <div style='background-color: #ffffff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-top: 20px;'>
92
+ <h2 class="section-title">Explore the Speech</h2>
93
+ <p class="section-text">Ask questions about Senator Booker's historic <span class="highlight-text">25-hour speech</span> below:</p>
94
  </div>
95
  """,
96
  unsafe_allow_html=True,
 
99
  text = st.text_area(
100
  "Your Question",
101
  height=150,
102
+ placeholder="What would you like to know about Senator Booker's speech?",
103
  )
104
 
105
  if st.button("Search", key="search_button"):
106
+ with st.spinner("Searching through the historic transcript..."):
107
  response = answer_question(text)
108
  st.markdown(
109
  """