vsj0702 commited on
Commit
20b0673
·
verified ·
1 Parent(s): e690954

Adding layout.py

Browse files
Files changed (1) hide show
  1. layout.py +9 -0
layout.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def init_session_state():
4
+ if 'dark_mode' not in st.session_state:
5
+ st.session_state.dark_mode = False
6
+ if 'code' not in st.session_state:
7
+ st.session_state.code = ""
8
+ if 'stdin' not in st.session_state:
9
+ st.session_state.stdin = ""