RobotJelly commited on
Commit
a122eba
·
verified ·
1 Parent(s): 71b0af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -24,7 +24,6 @@ def my_custom_tool(arg1:str, img: bool)-> Any: #it's import to specify the retur
24
  """
25
  try:
26
  if img:
27
- return
28
  # Import tool from Hub
29
  #image_generation_tool = load_tool("dwb2023/text-to-image", trust_remote_code=True)
30
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
 
24
  """
25
  try:
26
  if img:
 
27
  # Import tool from Hub
28
  #image_generation_tool = load_tool("dwb2023/text-to-image", trust_remote_code=True)
29
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)