Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,18 +8,17 @@ import squarify
|
|
8 |
import numpy as np
|
9 |
|
10 |
# Define the HTML and CSS styles
|
11 |
-
|
12 |
-
|
13 |
-
<style>
|
14 |
body {
|
15 |
background-color: #000000;
|
16 |
color: #ffffff;
|
17 |
}
|
18 |
-
</style>
|
19 |
-
"""
|
20 |
-
|
21 |
-
|
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.]")
|