Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -94,13 +94,8 @@ with col1:
|
|
94 |
elif record_key not in st.session_state:
|
95 |
st.session_state[record_key] = ""
|
96 |
|
97 |
-
|
98 |
-
|
99 |
-
with col_text:
|
100 |
-
user_input = st.text_area("", key=record_key, height=150, value=st.session_state.get(record_key, ""))
|
101 |
-
with col_button:
|
102 |
-
if st.button("지우기", key=f"clear_{i}"):
|
103 |
-
clear_text(record_key)
|
104 |
current_bytes = len(user_input.encode('utf-8'))
|
105 |
st.caption(f"현재 입력창 바이트 수: {current_bytes}")
|
106 |
|
|
|
94 |
elif record_key not in st.session_state:
|
95 |
st.session_state[record_key] = ""
|
96 |
|
97 |
+
with st.expander(f"입력창 {i+1}", expanded=False):
|
98 |
+
user_input = st.text_area("생활기록부 내용 입력", key=record_key, height=150, value=st.session_state[record_key])
|
|
|
|
|
|
|
|
|
|
|
99 |
current_bytes = len(user_input.encode('utf-8'))
|
100 |
st.caption(f"현재 입력창 바이트 수: {current_bytes}")
|
101 |
|