Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)->
|
| 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("
|
| 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)
|