RobotJelly commited on
Commit
1d38af3
·
verified ·
1 Parent(s): dc5e5b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def my_custom_tool(arg1:str, img: bool)-> str|Any: #it's import to specify the r
21
  """
22
  try:
23
  if img:
24
- return image_generation_tool
25
  else:
26
  search_obj = DuckDuckGoSearchTool()
27
  answer = search_obj(arg1)
 
21
  """
22
  try:
23
  if img:
24
+ return image_generation_tool(arg1)
25
  else:
26
  search_obj = DuckDuckGoSearchTool()
27
  answer = search_obj(arg1)