Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,8 +48,6 @@ def chat_with_solar(user_question, history, api_key):
|
|
48 |
# -----------------------------
|
49 |
# ๐ฅ๏ธ Streamlit UI ์์ญ
|
50 |
# -----------------------------
|
51 |
-
today = datetime.now().strftime("%Y-%m-%d")
|
52 |
-
filename= f"{today}_studynote.txt"
|
53 |
|
54 |
st.set_page_config(page_title="Decision Tree Chatbot Activity", layout="wide")
|
55 |
|
@@ -111,6 +109,8 @@ with col2:
|
|
111 |
st.info(f"์์ ์ง๋ฌธ: '{random.choice(sample_questions)}'")
|
112 |
|
113 |
if notes:
|
|
|
|
|
114 |
st.download_button(
|
115 |
label="๐ฅ ๋ฉ๋ชจ ๋ค์ด๋ก๋(txt)",
|
116 |
data=notes,
|
|
|
48 |
# -----------------------------
|
49 |
# ๐ฅ๏ธ Streamlit UI ์์ญ
|
50 |
# -----------------------------
|
|
|
|
|
51 |
|
52 |
st.set_page_config(page_title="Decision Tree Chatbot Activity", layout="wide")
|
53 |
|
|
|
109 |
st.info(f"์์ ์ง๋ฌธ: '{random.choice(sample_questions)}'")
|
110 |
|
111 |
if notes:
|
112 |
+
today = datetime.now().strftime("%Y-%m-%d")
|
113 |
+
filename = f"{today}_studynote.txt"
|
114 |
st.download_button(
|
115 |
label="๐ฅ ๋ฉ๋ชจ ๋ค์ด๋ก๋(txt)",
|
116 |
data=notes,
|