Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -286,7 +286,10 @@ REASONING:
|
|
| 286 |
],
|
| 287 |
)
|
| 288 |
|
| 289 |
-
|
|
|
|
|
|
|
|
|
|
| 290 |
print("SmolAgent initialized successfully!")
|
| 291 |
|
| 292 |
def __call__(self, question: str, task_id: str = None) -> str:
|
|
|
|
| 286 |
],
|
| 287 |
)
|
| 288 |
|
| 289 |
+
# Prepend our custom system prompt to the existing one
|
| 290 |
+
self.agent.prompt_templates["system_prompt"] = (
|
| 291 |
+
system_prompt + "\n\n" + self.agent.prompt_templates["system_prompt"]
|
| 292 |
+
)
|
| 293 |
print("SmolAgent initialized successfully!")
|
| 294 |
|
| 295 |
def __call__(self, question: str, task_id: str = None) -> str:
|