CCockrum commited on
Commit
e3c864b
Β·
verified Β·
1 Parent(s): 6c1b4c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -128,9 +128,6 @@ collection_url = f"https://www.loc.gov/search/?q={search_query}&fo=json"
128
  # Create an empty placeholder for Quick Stats
129
  stats_placeholder = st.sidebar.empty()
130
 
131
- # Create placeholder for Field Completeness Breakdown
132
- completeness_placeholder = st.sidebar.empty()
133
-
134
 
135
  # Add a fetch button to make the action explicit
136
  fetch_data = True
@@ -214,16 +211,6 @@ if fetch_data:
214
  </div>
215
  """
216
  stats_placeholder.markdown(stats_html, unsafe_allow_html=True
217
-
218
-
219
-
220
- # Render collapsible green completeness table in sidebar
221
- with st.sidebar.expander("Field Completeness Breakdown", expanded=True):
222
- st.dataframe(
223
- completeness_table.style.background_gradient(cmap="Greens").format("{:.1f}%"),
224
- use_container_width=True,
225
- height=240
226
- )
227
 
228
  with st.sidebar.expander("πŸ”— Helpful Resources", expanded=False):
229
  st.markdown("""
 
128
  # Create an empty placeholder for Quick Stats
129
  stats_placeholder = st.sidebar.empty()
130
 
 
 
 
131
 
132
  # Add a fetch button to make the action explicit
133
  fetch_data = True
 
211
  </div>
212
  """
213
  stats_placeholder.markdown(stats_html, unsafe_allow_html=True
 
 
 
 
 
 
 
 
 
 
214
 
215
  with st.sidebar.expander("πŸ”— Helpful Resources", expanded=False):
216
  st.markdown("""