Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -252,9 +252,9 @@ agent = CodeAgent(
|
|
252 |
FinalAnswerTool()
|
253 |
|
254 |
],
|
255 |
-
model=model
|
256 |
-
prompt_templates=PromptTemplates(system_prompt=SYSTEM_PROMPT)
|
257 |
)
|
|
|
258 |
print(agent.system_prompt)
|
259 |
|
260 |
GradioUI(agent).launch()
|
|
|
252 |
FinalAnswerTool()
|
253 |
|
254 |
],
|
255 |
+
model=model
|
|
|
256 |
)
|
257 |
+
model.system_prompt = SYSTEM_PROMPT
|
258 |
print(agent.system_prompt)
|
259 |
|
260 |
GradioUI(agent).launch()
|