Update app.py
Browse files
app.py
CHANGED
@@ -12,18 +12,17 @@ st.markdown(
|
|
12 |
background: url('https://cdn.i-scmp.com/sites/default/files/images/methode/2016/05/06/078562fe-1286-11e6-95eb-aaf30b46b489_image_hires.JPG') no-repeat center center fixed;
|
13 |
background-size: cover;
|
14 |
}
|
15 |
-
|
16 |
-
background
|
17 |
-
color:
|
18 |
-
padding:
|
19 |
-
border-radius:
|
20 |
-
font-size: 2.
|
21 |
text-align: center;
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
margin: 0 auto;
|
27 |
}
|
28 |
/* Style for the button */
|
29 |
.stButton>button {
|
@@ -60,6 +59,7 @@ st.markdown(
|
|
60 |
# Title
|
61 |
st.title("Brain Tumor Classification")
|
62 |
st.write("")
|
|
|
63 |
|
64 |
# Class names
|
65 |
class_names = ['glioma_tumor', 'meningioma_tumor', 'no_tumor', 'pituitary_tumor']
|
|
|
12 |
background: url('https://cdn.i-scmp.com/sites/default/files/images/methode/2016/05/06/078562fe-1286-11e6-95eb-aaf30b46b489_image_hires.JPG') no-repeat center center fixed;
|
13 |
background-size: cover;
|
14 |
}
|
15 |
+
.stApp h1 {
|
16 |
+
background: linear-gradient(to right, #4b6cb7, #182848);
|
17 |
+
color: white;
|
18 |
+
padding: 15px 25px;
|
19 |
+
border-radius: 15px;
|
20 |
+
font-size: 2.5em;
|
21 |
text-align: center;
|
22 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
23 |
+
max-width: 90%;
|
24 |
+
margin: 30px auto;
|
25 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
|
26 |
}
|
27 |
/* Style for the button */
|
28 |
.stButton>button {
|
|
|
59 |
# Title
|
60 |
st.title("Brain Tumor Classification")
|
61 |
st.write("")
|
62 |
+
st.write("")
|
63 |
|
64 |
# Class names
|
65 |
class_names = ['glioma_tumor', 'meningioma_tumor', 'no_tumor', 'pituitary_tumor']
|