lpolich commited on
Commit
9e42dc2
·
verified ·
1 Parent(s): 04445be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
23
  return "What magic will you build ?"
24
  # -- my tool
25
  @tool
26
- def get_image(img_description:str)-> filepath: #it's import to specify the return type
27
  #Keep this format for the description / args / args description but feel free to modify the tool
28
  """A tool that generate an image from a textual description
29
  Args:
 
23
  return "What magic will you build ?"
24
  # -- my tool
25
  @tool
26
+ def get_image(img_description:str)-> str: #it's import to specify the return type
27
  #Keep this format for the description / args / args description but feel free to modify the tool
28
  """A tool that generate an image from a textual description
29
  Args: