Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,6 +42,9 @@ def generate_living_record(data):
|
|
42 |
)
|
43 |
return response.choices[0].message.content
|
44 |
|
|
|
|
|
|
|
45 |
# Streamlit ์ฑ ๊ตฌ์ฑ
|
46 |
st.title("์ํ๊ธฐ๋ก๋ถ ์์ฑ ์๋น์ค")
|
47 |
st.write("๊ธฐ๋ก ์๋ฃ๊ฐ ๋ด๊ธด CSVํ์ผ ์
๋ก๋, ์ง์ ๊ธฐ๋ก์ ์
๋ ฅ, ํค์๋๋ฅผ ์ ํํ์ฌ ์ํ๊ธฐ๋ก๋ถ ์์ฑ์ ํ์ํ ๊ด์ฐฐ ๊ฒฐ๊ณผ๋ฅผ ์ ๊ณตํ ์ ์์ต๋๋ค.")
|
|
|
42 |
)
|
43 |
return response.choices[0].message.content
|
44 |
|
45 |
+
def clear_text(key):
|
46 |
+
st.session_state[key] = ""
|
47 |
+
|
48 |
# Streamlit ์ฑ ๊ตฌ์ฑ
|
49 |
st.title("์ํ๊ธฐ๋ก๋ถ ์์ฑ ์๋น์ค")
|
50 |
st.write("๊ธฐ๋ก ์๋ฃ๊ฐ ๋ด๊ธด CSVํ์ผ ์
๋ก๋, ์ง์ ๊ธฐ๋ก์ ์
๋ ฅ, ํค์๋๋ฅผ ์ ํํ์ฌ ์ํ๊ธฐ๋ก๋ถ ์์ฑ์ ํ์ํ ๊ด์ฐฐ ๊ฒฐ๊ณผ๋ฅผ ์ ๊ณตํ ์ ์์ต๋๋ค.")
|