AdritRao commited on
Commit
2e8eeaf
·
1 Parent(s): 789486a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -5
app.py CHANGED
@@ -14,13 +14,24 @@ from tkinter import Tcl
14
  # Flag to track if subprocess commands have been executed
15
  subprocess_executed = False
16
 
17
- # Streamlit app title
18
  st.markdown(
19
  """
20
  <style>
21
  .reportview-container {
22
- background: url("https://img.freepik.com/premium-photo/plaque-buildup-blocked-vein-artery-generative-ai_851708-1459.jpg") no-repeat center center fixed;
23
- background-size: cover;
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  </style>
26
  """,
@@ -28,8 +39,16 @@ st.markdown(
28
  )
29
 
30
  # Title with superscript and subtitle
31
- st.title("A<sup>4</sup>")
32
- st.markdown("Automated Aorta Segmentation and Measurement")
 
 
 
 
 
 
 
 
33
 
34
  # Upload a ZIP file containing DICOM slices
35
  uploaded_zip_file = st.file_uploader("Upload a ZIP file containing DICOM slices", type=["zip"])
 
14
  # Flag to track if subprocess commands have been executed
15
  subprocess_executed = False
16
 
17
+ # Title with superscript and subtitle
18
  st.markdown(
19
  """
20
  <style>
21
  .reportview-container {
22
+ background: white;
23
+ }
24
+ </style>
25
+ """,
26
+ unsafe_allow_html=True,
27
+ )
28
+
29
+ # Set a custom background color for the header
30
+ st.markdown(
31
+ """
32
+ <style>
33
+ .reportview-container .main .block-container {
34
+ background: red;
35
  }
36
  </style>
37
  """,
 
39
  )
40
 
41
  # Title with superscript and subtitle
42
+ st.markdown("""
43
+ <div style='text-align: center;'>
44
+ <h1 style='color: white;'>
45
+ A<sup>4</sup>
46
+ </h1>
47
+ <h3 style='color: white;'>
48
+ Automated Aorta Segmentation and Measurement
49
+ </h3>
50
+ </div>
51
+ """, unsafe_allow_html=True)
52
 
53
  # Upload a ZIP file containing DICOM slices
54
  uploaded_zip_file = st.file_uploader("Upload a ZIP file containing DICOM slices", type=["zip"])