Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,8 +42,11 @@ if st.session_state.show_sidebar:
|
|
| 42 |
"System Prompt", value=st.session_state.system_prompt
|
| 43 |
)
|
| 44 |
|
| 45 |
-
|
| 46 |
-
st.
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
st.markdown("---")
|
| 49 |
|
|
|
|
| 42 |
"System Prompt", value=st.session_state.system_prompt
|
| 43 |
)
|
| 44 |
|
| 45 |
+
theme_pref = st.radio("🌗 Theme Preference", ["Light", "Dark", "System"], index=["Light", "Dark", "System"].index(st.session_state.theme_pref))
|
| 46 |
+
st.session_state.theme_pref = theme_pref
|
| 47 |
+
|
| 48 |
+
st.markdown("> **Note**: Theme must be changed from the ⚙️ gear icon in the top-right corner. This setting only remembers your preference.")
|
| 49 |
+
|
| 50 |
|
| 51 |
st.markdown("---")
|
| 52 |
|