lpolich commited on
Commit
76ce70e
·
verified ·
1 Parent(s): ed1c2b6

Update app.py

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