Spaces:
Sleeping
Sleeping
Update app.py
#1
by BulatF - opened
app.py
CHANGED
|
@@ -1,5 +1,16 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
ss = st.session_state
|
| 4 |
|
| 5 |
GC_NAMES = ['Hydrogen sulphide',
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
# Set the configuration for the dark theme
|
| 3 |
+
def set_theme():
|
| 4 |
+
st.set_page_config(
|
| 5 |
+
page_title='PVT Gas', # Title of your app
|
| 6 |
+
layout='wide', # Can be "wide" or "centered"
|
| 7 |
+
)
|
| 8 |
|
| 9 |
+
# Use Streamlit's theming options to set the default to dark
|
| 10 |
+
st.write('<style>body { color: white; background-color: #0E1117; }</style>', unsafe_allow_html=True)
|
| 11 |
+
|
| 12 |
+
# Call the function to set the theme
|
| 13 |
+
set_theme()
|
| 14 |
ss = st.session_state
|
| 15 |
|
| 16 |
GC_NAMES = ['Hydrogen sulphide',
|