Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ DEMO_MCP_SERVER_URL = "https://davidlms-ipmentor.hf.space/gradio_api/mcp/sse"
|
|
37 |
def load_system_prompt():
|
38 |
"""Load the system prompt from an external .md file."""
|
39 |
try:
|
40 |
-
with open("
|
41 |
return f.read()
|
42 |
except FileNotFoundError:
|
43 |
print("Warning: examples/chatbot_system_prompt.md not found, using default prompt")
|
|
|
37 |
def load_system_prompt():
|
38 |
"""Load the system prompt from an external .md file."""
|
39 |
try:
|
40 |
+
with open("chatbot_system_prompt.md", "r", encoding="utf-8") as f:
|
41 |
return f.read()
|
42 |
except FileNotFoundError:
|
43 |
print("Warning: examples/chatbot_system_prompt.md not found, using default prompt")
|