hzli commited on
Commit
1559da8
·
verified ·
1 Parent(s): a0610dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -52,6 +52,7 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
52
 
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
 
55
  print(prompt_templates)
56
 
57
  agent = CodeAgent(
 
52
 
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
+ prompt_templates["final_answer"] = "最终答案是: {answer}"
56
  print(prompt_templates)
57
 
58
  agent = CodeAgent(