Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,16 @@ st.markdown("""
|
|
64 |
html, body, [data-testid="stApp"] {
|
65 |
background-color: #1A1A1A !important;
|
66 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
</style>
|
68 |
""", unsafe_allow_html=True)
|
69 |
|
@@ -101,13 +111,6 @@ st.sidebar.markdown(f"<span style='color: lightgray;'>API URL: {collection_url}<
|
|
101 |
|
102 |
# Add a fetch button to make the action explicit
|
103 |
fetch_data = True
|
104 |
-
|
105 |
-
|
106 |
-
# Add before the fetch_data = True line
|
107 |
-
if st.sidebar.button("Fetch Collection Data"):
|
108 |
-
fetch_data = True
|
109 |
-
else:
|
110 |
-
fetch_data = False
|
111 |
|
112 |
if fetch_data:
|
113 |
# Display a loading spinner while fetching data
|
|
|
64 |
html, body, [data-testid="stApp"] {
|
65 |
background-color: #1A1A1A !important;
|
66 |
}
|
67 |
+
.custom-table {
|
68 |
+
background-color: #f5f5f5;
|
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 |
</style>
|
78 |
""", unsafe_allow_html=True)
|
79 |
|
|
|
111 |
|
112 |
# Add a fetch button to make the action explicit
|
113 |
fetch_data = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
if fetch_data:
|
116 |
# Display a loading spinner while fetching data
|