CCockrum commited on
Commit
791aa72
·
verified ·
1 Parent(s): 20087cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -299,25 +299,25 @@ if fetch_data:
299
 
300
  # FILL THE PLACEHOLDER created earlier
301
 
302
- with completeness_placeholder:
303
- st.markdown("""
304
- <div style='
305
- background-color: #2e2e2e;
306
- padding: 1.2rem;
307
- border-radius: 10px;
308
- margin-top: 1.5rem;
309
- color: lightgray;
310
- '>
311
- <h4 style='margin-bottom: 1rem;'>Field Completeness Breakdown</h4>
312
- """, unsafe_allow_html=True)
313
 
314
- st.dataframe(
315
- completeness_table.style.background_gradient(cmap="Greens").format("{:.1f}%"),
316
- use_container_width=True,
317
- height=240
318
- )
319
 
320
- st.markdown("</div>", unsafe_allow_html=True)
321
 
322
 
323
  # Then continue plotting in main panel
 
299
 
300
  # FILL THE PLACEHOLDER created earlier
301
 
302
+ st.subheader("📊 Field Completeness Breakdown")
303
+
304
+ st.markdown("""
305
+ <div style='
306
+ background-color: #2e2e2e;
307
+ padding: 1.2rem;
308
+ border-radius: 10px;
309
+ margin-top: 1.5rem;
310
+ color: lightgray;
311
+ '>
312
+ """, unsafe_allow_html=True)
313
 
314
+ st.dataframe(
315
+ completeness_table.style.background_gradient(cmap="Greens").format("{:.1f}%"),
316
+ use_container_width=True,
317
+ height=240
318
+ )
319
 
320
+ st.markdown("</div>", unsafe_allow_html=True)
321
 
322
 
323
  # Then continue plotting in main panel