CCockrum commited on
Commit
835341f
·
verified ·
1 Parent(s): c93f775

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -16
app.py CHANGED
@@ -117,22 +117,6 @@ search_query = collections[selected]
117
  # Define the collection URL
118
  collection_url = f"https://www.loc.gov/search/?q={search_query}&fo=json"
119
 
120
- # 📊 Quick Stats Section (styled)
121
- st.sidebar.markdown("""
122
- <style>
123
- .sidebar-stats h3 {
124
- color: lightgray !important;
125
- font-size: 1.1rem !important;
126
- margin-top: 1.5rem;
127
- }
128
- </style>
129
- <h3 class="sidebar-stats">Quick Stats</h3>
130
- """, unsafe_allow_html=True)
131
-
132
- if not metadata_df.empty:
133
- st.sidebar.write(f"Total Records: {len(metadata_df)}")
134
- st.sidebar.write(f"Incomplete Records: {len(metadata_df[metadata_df.isnull().any(axis=1)])}")
135
-
136
 
137
  # Helpful Resources (styled and moved below dropdown)
138
  st.sidebar.markdown("### Helpful Resources", unsafe_allow_html=True)
 
117
  # Define the collection URL
118
  collection_url = f"https://www.loc.gov/search/?q={search_query}&fo=json"
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
 
121
  # Helpful Resources (styled and moved below dropdown)
122
  st.sidebar.markdown("### Helpful Resources", unsafe_allow_html=True)