Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,36 +31,11 @@ st.markdown("""
|
|
31 |
.parkinsons {
|
32 |
color: #C30000;
|
33 |
}
|
34 |
-
|
35 |
-
color: blue;
|
36 |
-
background-color: transparent;
|
37 |
-
text-decoration: underline;
|
38 |
-
}
|
39 |
-
a:hover, a:active {
|
40 |
-
color: red;
|
41 |
-
background-color: transparent;
|
42 |
-
text-decoration: underline;
|
43 |
-
}
|
44 |
-
.footer_wrapper {
|
45 |
-
position: relative;
|
46 |
-
width: 100%;
|
47 |
-
}
|
48 |
-
.footer {
|
49 |
-
position: relative;
|
50 |
-
left: 0;
|
51 |
-
bottom: 0;
|
52 |
-
width: 100%;
|
53 |
-
background-color: white;
|
54 |
-
color: black;
|
55 |
text-align: center;
|
|
|
56 |
}
|
57 |
</style>
|
58 |
-
<script>
|
59 |
-
window.addEventListener('load', function() {
|
60 |
-
var footer = document.querySelector('.footer');
|
61 |
-
footer.style.width = window.innerWidth + 'px';
|
62 |
-
});
|
63 |
-
</script>
|
64 |
""", unsafe_allow_html=True)
|
65 |
|
66 |
st.title("Parkinson's Disease Prediction")
|
@@ -101,5 +76,5 @@ if uploaded_file is not None:
|
|
101 |
col2.markdown('<span class="result healthy">Predicted class: Healthy</span>', unsafe_allow_html=True)
|
102 |
col2.caption(f'{confidence*100:.0f}% sure')
|
103 |
|
104 |
-
# Add the
|
105 |
-
st.
|
|
|
31 |
.parkinsons {
|
32 |
color: #C30000;
|
33 |
}
|
34 |
+
.caption {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
text-align: center;
|
36 |
+
font-size: 18px;
|
37 |
}
|
38 |
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
""", unsafe_allow_html=True)
|
40 |
|
41 |
st.title("Parkinson's Disease Prediction")
|
|
|
76 |
col2.markdown('<span class="result healthy">Predicted class: Healthy</span>', unsafe_allow_html=True)
|
77 |
col2.caption(f'{confidence*100:.0f}% sure')
|
78 |
|
79 |
+
# Add a caption at the bottom of the page
|
80 |
+
st.caption('Made by Jayant', className='caption')
|