Stubbs0x commited on
Commit
d90e17b
·
verified ·
1 Parent(s): 16b0b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -73,8 +73,8 @@ custom_role_conversions=None,
73
  # Import tool from Hub
74
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
75
 
76
- with open("prompts.yaml", 'r') as stream:
77
- prompt_templates = yaml.safe_load(stream)
78
 
79
  agent = CodeAgent(
80
  model=model,
@@ -83,7 +83,7 @@ agent = CodeAgent(
83
  image_to_3d
84
  ], ## add your tools here (don't remove final answer)
85
  max_steps=6,
86
- prompt_templates=prompt_templates
87
  )
88
 
89
 
 
73
  # Import tool from Hub
74
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
75
 
76
+ #with open("prompts.yaml", 'r') as stream:
77
+ # prompt_templates = yaml.safe_load(stream)
78
 
79
  agent = CodeAgent(
80
  model=model,
 
83
  image_to_3d
84
  ], ## add your tools here (don't remove final answer)
85
  max_steps=6,
86
+ # prompt_templates=prompt_templates
87
  )
88
 
89