Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,31 +26,31 @@ st.markdown("""
|
|
26 |
text-align: center;
|
27 |
padding: 2rem;
|
28 |
}
|
29 |
-
|
30 |
-
padding: 2rem;
|
31 |
-
border-radius: 0.5rem;
|
32 |
-
background-color: #f0f2f6;
|
33 |
-
margin: 1rem 0;
|
34 |
-
}
|
35 |
-
.top-predictions {
|
36 |
-
margin-top: 2rem;
|
37 |
-
padding: 1rem;
|
38 |
-
background-color: white;
|
39 |
-
border-radius: 0.5rem;
|
40 |
-
box-shadow: 0 1px 3px rgba(0,0,0,0.12);
|
41 |
-
}
|
42 |
-
.prediction-bar {
|
43 |
-
display: flex;
|
44 |
-
align-items: center;
|
45 |
-
margin: 0.5rem 0;
|
46 |
-
}
|
47 |
-
.prediction-label {
|
48 |
-
width: 100px;
|
49 |
-
font-weight: 500;
|
50 |
-
}
|
51 |
</style>
|
52 |
""", unsafe_allow_html=True)
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
@st.cache_resource
|
55 |
def load_model():
|
56 |
"""Load the trained model"""
|
|
|
26 |
text-align: center;
|
27 |
padding: 2rem;
|
28 |
}
|
29 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
</style>
|
31 |
""", unsafe_allow_html=True)
|
32 |
+
# .prediction-card {
|
33 |
+
# padding: 2rem;
|
34 |
+
# border-radius: 0.5rem;
|
35 |
+
# background-color: #f0f2f6;
|
36 |
+
# margin: 1rem 0;
|
37 |
+
# }
|
38 |
+
# .top-predictions {
|
39 |
+
# margin-top: 2rem;
|
40 |
+
# padding: 1rem;
|
41 |
+
# background-color: white;
|
42 |
+
# border-radius: 0.5rem;
|
43 |
+
# box-shadow: 0 1px 3px rgba(0,0,0,0.12);
|
44 |
+
# }
|
45 |
+
# .prediction-bar {
|
46 |
+
# display: flex;
|
47 |
+
# align-items: center;
|
48 |
+
# margin: 0.5rem 0;
|
49 |
+
# }
|
50 |
+
# .prediction-label {
|
51 |
+
# width: 100px;
|
52 |
+
# font-weight: 500;
|
53 |
+
# }
|
54 |
@st.cache_resource
|
55 |
def load_model():
|
56 |
"""Load the trained model"""
|