Yescia commited on
Commit
d7f664e
ยท
verified ยท
1 Parent(s): 75b58db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,