Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,13 @@ with col1:
|
|
93 |
st.session_state[record_key] = str(data_value)
|
94 |
elif record_key not in st.session_state:
|
95 |
st.session_state[record_key] = ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
|
97 |
# ์์ ฏ ์์ฑ
|
98 |
for i in range(5):
|
|
|
93 |
st.session_state[record_key] = str(data_value)
|
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 |
+
# ํ์ฌ ์
๋ ฅ์ฐฝ์ ๋ฐ์ดํธ ์ ๊ณ์ฐ ๋ฐ ํ์
|
100 |
+
current_bytes = len(user_input.encode('utf-8'))
|
101 |
+
st.caption(f"ํ์ฌ ์
๋ ฅ์ฐฝ ๋ฐ์ดํธ ์: {current_bytes}")
|
102 |
+
|
103 |
|
104 |
# ์์ ฏ ์์ฑ
|
105 |
for i in range(5):
|