david-thrower commited on
Commit
187225d
·
verified ·
1 Parent(s): d2a14db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()