loge-dot
commited on
Commit
·
3604d1e
1
Parent(s):
c49fa9d
debug history
Browse files- emotion_analyzer.py +1 -1
emotion_analyzer.py
CHANGED
@@ -17,7 +17,7 @@ if "user_feedback" not in st.session_state:
|
|
17 |
|
18 |
def show_history():
|
19 |
"""📜 显示历史记录(最近 5 条)"""
|
20 |
-
history_file = "history
|
21 |
|
22 |
if os.path.exists(history_file):
|
23 |
with open(history_file, 'r') as f:
|
|
|
17 |
|
18 |
def show_history():
|
19 |
"""📜 显示历史记录(最近 5 条)"""
|
20 |
+
history_file = "history/history.json"
|
21 |
|
22 |
if os.path.exists(history_file):
|
23 |
with open(history_file, 'r') as f:
|