Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -9,7 +9,7 @@ from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
|
| 9 |
|
| 10 |
|
| 11 |
# load the system prompt from the file
|
| 12 |
-
with open("
|
| 13 |
system_prompt = f.read()
|
| 14 |
|
| 15 |
# System message
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
# load the system prompt from the file
|
| 12 |
+
with open("prompt.txt", "r", encoding="utf-8") as f:
|
| 13 |
system_prompt = f.read()
|
| 14 |
|
| 15 |
# System message
|