Spaces:
Sleeping
Sleeping
Update app.py (#1)
Browse files- Update app.py (a48bffc3234ba3cb6de714f438d0263655054568)
- Update app.py (e4a0ecff6529e158ed19c5f1c5c2e7b7aead0d4d)
Co-authored-by: Bulat Farrakhov <BulatF@users.noreply.huggingface.co>
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',
|