Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -90,6 +90,7 @@ search_query = collections[selected]
|
|
90 |
collection_url = f"https://www.loc.gov/search/?q={search_query}&fo=json"
|
91 |
st.sidebar.write(f"Selected Collection: {selected}")
|
92 |
st.sidebar.write(f"API URL: {collection_url}")
|
|
|
93 |
|
94 |
# Fetch data from LOC API with spoofed User-Agent header
|
95 |
headers = {
|
|
|
90 |
collection_url = f"https://www.loc.gov/search/?q={search_query}&fo=json"
|
91 |
st.sidebar.write(f"Selected Collection: {selected}")
|
92 |
st.sidebar.write(f"API URL: {collection_url}")
|
93 |
+
st.sidebar.markdown(f"<span style='color: lightgray;'>API URL: {collection_url}</span>", unsafe_allow_html=True)
|
94 |
|
95 |
# Fetch data from LOC API with spoofed User-Agent header
|
96 |
headers = {
|