Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,18 @@ st.markdown(
|
|
12 |
.stApp {
|
13 |
background-color: #00008B;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.image-caption {
|
16 |
color: white;
|
17 |
font-size: 3em;
|
@@ -42,10 +54,21 @@ image_files = [
|
|
42 |
("topic_groups.JPG", "Topic Groups"),
|
43 |
("similarity_matrix.JPG", "Similarity Matrix"),
|
44 |
("heirarchy_cluster.JPG", "Hierarchy Cluster"),
|
45 |
-
("sentiment.JPG", "Sentiment"),
|
46 |
-
("accuracy.JPG", "Accuracy")
|
47 |
]
|
48 |
|
49 |
# Display images
|
50 |
for file, caption in image_files:
|
51 |
-
display_image(file, caption)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
.stApp {
|
13 |
background-color: #00008B;
|
14 |
}
|
15 |
+
.custom-text {
|
16 |
+
color: white;
|
17 |
+
font-size: 2em;
|
18 |
+
text-align: center;
|
19 |
+
margin-bottom: 10px;
|
20 |
+
}
|
21 |
+
.summary-text {
|
22 |
+
color: white;
|
23 |
+
font-size: 1.5em;
|
24 |
+
text-align: center;
|
25 |
+
margin-bottom: 20px;
|
26 |
+
}
|
27 |
.image-caption {
|
28 |
color: white;
|
29 |
font-size: 3em;
|
|
|
54 |
("topic_groups.JPG", "Topic Groups"),
|
55 |
("similarity_matrix.JPG", "Similarity Matrix"),
|
56 |
("heirarchy_cluster.JPG", "Hierarchy Cluster"),
|
|
|
|
|
57 |
]
|
58 |
|
59 |
# Display images
|
60 |
for file, caption in image_files:
|
61 |
+
display_image(file, caption)
|
62 |
+
|
63 |
+
# Display the specified text parts
|
64 |
+
st.markdown('<div class="custom-text">It was pretty metal at the grocery store today. #Covid_19</div>', unsafe_allow_html=True)
|
65 |
+
st.markdown('<div class="summary-text">summary: It was pretty metal at the grocery store today. #Covid_19 - a video of a metal event at a grocery store.</div>', unsafe_allow_html=True)
|
66 |
+
|
67 |
+
# Continue displaying the remaining images
|
68 |
+
remaining_images = [
|
69 |
+
("sentiment.JPG", "Sentiment"),
|
70 |
+
("accuracy.JPG", "Accuracy")
|
71 |
+
]
|
72 |
+
|
73 |
+
for file, caption in remaining_images:
|
74 |
+
display_image(file, caption)
|