Ulduz commited on
Commit
bf66515
·
verified ·
1 Parent(s): 158cf0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def show_projects(token:str)-> str:
27
  return error
28
 
29
  @tool
30
- def add_project(token:str, name:str)-> Project:
31
  """A tool that adds projects in todoist account and then shows the info for projrct.
32
  Args:
33
  token: the token for the account of user that we want to add the project to.
@@ -87,7 +87,7 @@ custom_role_conversions=None,
87
 
88
 
89
  # Import tool from Hub
90
- image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
91
 
92
  with open("prompts.yaml", 'r') as stream:
93
  prompt_templates = yaml.safe_load(stream)
 
27
  return error
28
 
29
  @tool
30
+ def add_project(token:str, name:str)-> str:
31
  """A tool that adds projects in todoist account and then shows the info for projrct.
32
  Args:
33
  token: the token for the account of user that we want to add the project to.
 
87
 
88
 
89
  # Import tool from Hub
90
+ image_generation_tool = load_tool("black-forest-labs/FLUX.1-dev", trust_remote_code=True)
91
 
92
  with open("prompts.yaml", 'r') as stream:
93
  prompt_templates = yaml.safe_load(stream)