jfataphd commited on
Commit
a6d026f
·
1 Parent(s): 8b5ed16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -8,18 +8,17 @@ import squarify
8
  import numpy as np
9
 
10
  # Define the HTML and CSS styles
11
- html_temp = """
12
-
13
- <style>
14
  body {
15
  background-color: #000000;
16
  color: #ffffff;
17
  }
18
- </style>
19
- """
20
-
21
- # Display the HTML and CSS styles
22
- st.markdown(html_temp, unsafe_allow_html=True)
23
  st.header(":white[My Streamlit App with HTML and CSS]")
24
  # Add some text to the app
25
  st.write(":white[This is my Streamlit app with HTML and CSS formatting.]")
 
8
  import numpy as np
9
 
10
  # Define the HTML and CSS styles
11
+ st.markdown(
12
+ """
13
+ <style>
14
  body {
15
  background-color: #000000;
16
  color: #ffffff;
17
  }
18
+ </style>
19
+ """,
20
+ unsafe_allow_html=True
21
+ )
 
22
  st.header(":white[My Streamlit App with HTML and CSS]")
23
  # Add some text to the app
24
  st.write(":white[This is my Streamlit app with HTML and CSS formatting.]")