kanneboinakumar commited on
Commit
f864b78
·
verified ·
1 Parent(s): 13ec28b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
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
- .stApp h1 {
16
- background-color: rgba(0, 0, 128, 0.7);
17
- color: #ffffff;
18
- padding: 10px;
19
- border-radius: 5px;
20
- font-size: 2.2em;
21
  text-align: center;
22
- white-space: nowrap; /* Prevents line break */
23
- overflow: hidden;
24
- text-overflow: ellipsis;
25
- max-width: 100%;
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']