mobina1380 commited on
Commit
831d769
·
verified ·
1 Parent(s): 05ae32c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -59,8 +59,10 @@ custom_role_conversions=None,
59
  # Import tool from Hub
60
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
61
 
 
62
  with open("prompts.yaml", 'r') as stream:
63
  prompt_templates = yaml.safe_load(stream)
 
64
 
65
  agent = CodeAgent(
66
  model=model,
 
59
  # Import tool from Hub
60
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
61
 
62
+ import yaml
63
  with open("prompts.yaml", 'r') as stream:
64
  prompt_templates = yaml.safe_load(stream)
65
+
66
 
67
  agent = CodeAgent(
68
  model=model,