Update main.py
Browse files
main.py
CHANGED
@@ -59,7 +59,7 @@ else:
|
|
59 |
raise ValueError("No documents found in the 'data' directory.")
|
60 |
|
61 |
# 初始化 chat_history 作為全局變數
|
62 |
-
chat_history = [
|
63 |
|
64 |
# 定義 invoke 函數
|
65 |
def invoke(question: str):
|
|
|
59 |
raise ValueError("No documents found in the 'data' directory.")
|
60 |
|
61 |
# 初始化 chat_history 作為全局變數
|
62 |
+
chat_history = []
|
63 |
|
64 |
# 定義 invoke 函數
|
65 |
def invoke(question: str):
|