CCockrum commited on
Commit
5deb7bf
·
verified ·
1 Parent(s): d1bbe63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -37,7 +37,7 @@ st.markdown("""
37
  }
38
  .stAlert {
39
  background-color: #f0f0f5 !important;
40
- color: #333333 !important;
41
  padding: 1.25rem !important;
42
  font-size: 1rem !important;
43
  border-radius: 0.5rem !important;
@@ -48,7 +48,7 @@ st.markdown("""
48
  }
49
  section[data-testid="stSidebar"] > div:first-child {
50
  background-color: #1A1A1A !important;
51
- color: #FFFFFF !important;
52
  padding: 2rem 1.5rem 1.5rem 1.5rem !important;
53
  border-radius: 12px;
54
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
@@ -68,16 +68,12 @@ st.markdown("""
68
  </style>
69
  """, unsafe_allow_html=True)
70
 
71
- # Instead of using an image file that might not exist, create a header with HTML
72
- st.markdown("""
73
- <div style="background-color: #1A1A1A; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
74
- <h1 style="color: white; text-align: center;">LOC MetaDiscovery Agent</h1>
75
- <p style="color: #D3D3D3; text-align: center;">Library of Congress Collections Analysis Tool</p>
76
- </div>
77
- """, unsafe_allow_html=True)
78
 
79
  # Streamlit app header
80
- st.title("MetaDiscovery Agent for Library of Congress Collections")
81
  st.markdown("""
82
  This tool connects to the LOC API, retrieves metadata from a selected collection, and performs
83
  an analysis of metadata completeness, suggests enhancements, and identifies authority gaps.
 
37
  }
38
  .stAlert {
39
  background-color: #f0f0f5 !important;
40
+ color: #D3D3D3 !important;
41
  padding: 1.25rem !important;
42
  font-size: 1rem !important;
43
  border-radius: 0.5rem !important;
 
48
  }
49
  section[data-testid="stSidebar"] > div:first-child {
50
  background-color: #1A1A1A !important;
51
+ color: #D3D3D3 !important;
52
  padding: 2rem 1.5rem 1.5rem 1.5rem !important;
53
  border-radius: 12px;
54
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 
68
  </style>
69
  """, unsafe_allow_html=True)
70
 
71
+ # Near the top of your app, after the CSS styling
72
+ st.image("https://www.loc.gov/static/images/logo-loc-new-branding.svg", use_container_width=True)
73
+
 
 
 
 
74
 
75
  # Streamlit app header
76
+ st.title("Library of Congress Collections Analysis Tool")
77
  st.markdown("""
78
  This tool connects to the LOC API, retrieves metadata from a selected collection, and performs
79
  an analysis of metadata completeness, suggests enhancements, and identifies authority gaps.