CCockrum commited on
Commit
45fc23c
Β·
verified Β·
1 Parent(s): 3d70ed8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -239,7 +239,7 @@ if fetch_data:
239
  # Render stats summary in sidebar
240
  stats_html = f"""
241
  <div class="sidebar-stats">
242
- <h3 style="color: lightgray;">πŸ“Š Quick Stats</h3>
243
  <p style="color:lightgray;">Total Records: <b>{len(metadata_df)}</b></p>
244
  <p style="color:lightgray;">Incomplete Records: <b>{incomplete_count}</b></p>
245
  <p style="color:lightgray;">Overall Metadata Completeness: <b>{overall_percent:.1f}%</b></p>
@@ -248,7 +248,7 @@ if fetch_data:
248
  stats_placeholder.markdown(stats_html, unsafe_allow_html=True)
249
 
250
  # πŸ“Š Field Completeness Breakdown
251
- st.sidebar.markdown("### πŸ“Š Field Completeness Breakdown", unsafe_allow_html=True)
252
  st.sidebar.dataframe(completeness_table.style.format("{:.1f}%"))
253
 
254
 
@@ -288,7 +288,7 @@ if fetch_data:
288
  margin-top: 1.5rem;
289
  color: lightgray;
290
  '>
291
- <h4 style='margin-bottom: 1rem;'>πŸ“Š Field Completeness Breakdown</h4>
292
  """, unsafe_allow_html=True)
293
 
294
  st.dataframe(
@@ -336,7 +336,7 @@ if fetch_data:
336
  else:
337
  st.markdown("""
338
  <div class='custom-table'>
339
- <b>ℹ️ No metadata enhancement suggestions available.</b>
340
  </div>
341
  """, unsafe_allow_html=True)
342
 
@@ -345,7 +345,7 @@ if fetch_data:
345
  else:
346
  st.markdown("""
347
  <div class='custom-table'>
348
- <b>ℹ️ Not enough descriptive data to generate metadata suggestions.</b>
349
  </div>
350
  """, unsafe_allow_html=True)
351
  else:
 
239
  # Render stats summary in sidebar
240
  stats_html = f"""
241
  <div class="sidebar-stats">
242
+ <h3 style="color: lightgray;">Quick Stats</h3>
243
  <p style="color:lightgray;">Total Records: <b>{len(metadata_df)}</b></p>
244
  <p style="color:lightgray;">Incomplete Records: <b>{incomplete_count}</b></p>
245
  <p style="color:lightgray;">Overall Metadata Completeness: <b>{overall_percent:.1f}%</b></p>
 
248
  stats_placeholder.markdown(stats_html, unsafe_allow_html=True)
249
 
250
  # πŸ“Š Field Completeness Breakdown
251
+ st.sidebar.markdown("###Field Completeness Breakdown", unsafe_allow_html=True)
252
  st.sidebar.dataframe(completeness_table.style.format("{:.1f}%"))
253
 
254
 
 
288
  margin-top: 1.5rem;
289
  color: lightgray;
290
  '>
291
+ <h4 style='margin-bottom: 1rem;'>Field Completeness Breakdown</h4>
292
  """, unsafe_allow_html=True)
293
 
294
  st.dataframe(
 
336
  else:
337
  st.markdown("""
338
  <div class='custom-table'>
339
+ <b>No metadata enhancement suggestions available.</b>
340
  </div>
341
  """, unsafe_allow_html=True)
342
 
 
345
  else:
346
  st.markdown("""
347
  <div class='custom-table'>
348
+ <b>Not enough descriptive data to generate metadata suggestions.</b>
349
  </div>
350
  """, unsafe_allow_html=True)
351
  else: