CCockrum commited on
Commit
e911334
·
verified ·
1 Parent(s): 9073294

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -65,16 +65,14 @@ st.markdown("""
65
  background-color: #1A1A1A !important;
66
  }
67
  .custom-table {
68
- background-color: #D3D3D3 !important;
69
- color: #1A1A1A !important;
70
- font-family: sans-serif;
71
- font-size: 0.95rem;
72
- padding: 1.5rem;
73
- border-radius: 10px;
74
- overflow-x: auto;
75
- white-space: normal;
76
- border: 1px solid #aaa;
77
- line-height: 1.6;
78
 
79
  }
80
  </style>
@@ -228,6 +226,9 @@ if fetch_data:
228
  suggestions.append((row['title'], suggested_subject))
229
  if suggestions:
230
  suggestions_df = pd.DataFrame(suggestions, columns=["Title", "Suggested Subject"])
 
 
 
231
  st.markdown("<div class='custom-table'>" + suggestions_df.to_markdown(index=True) + "</div>", unsafe_allow_html=True)
232
 
233
  else:
 
65
  background-color: #1A1A1A !important;
66
  }
67
  .custom-table {
68
+ background-color: #D3D3D3;
69
+ color: #1A1A1A;
70
+ font-family: monospace;
71
+ padding: 1rem;
72
+ border-radius: 8px;
73
+ overflow-x: auto;
74
+ white-space: pre;
75
+ border: 1px solid #ccc;
 
 
76
 
77
  }
78
  </style>
 
226
  suggestions.append((row['title'], suggested_subject))
227
  if suggestions:
228
  suggestions_df = pd.DataFrame(suggestions, columns=["Title", "Suggested Subject"])
229
+ st.subheader("📋 Suggested Metadata Enhancements Table")
230
+ st.table(suggestions_df)
231
+
232
  st.markdown("<div class='custom-table'>" + suggestions_df.to_markdown(index=True) + "</div>", unsafe_allow_html=True)
233
 
234
  else: