ambadkar commited on
Commit
08c6b2c
·
verified ·
1 Parent(s): 86aed95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ custom_role_conversions=None,
46
 
47
  # Import tool from Hub
48
  @tool
49
- image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
50
 
51
  with open("prompts.yaml", 'r') as stream:
52
  prompt_templates = yaml.safe_load(stream)
 
46
 
47
  # Import tool from Hub
48
  @tool
49
+ image_generator = load_tool("agents-course/text-to-image", trust_remote_code=True)
50
 
51
  with open("prompts.yaml", 'r') as stream:
52
  prompt_templates = yaml.safe_load(stream)