csiadat commited on
Commit
9201fe0
·
verified ·
1 Parent(s): cc55306

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def create_new_vday_card_tool(theme:str) -> str: #it's import to specify the ret
26
  )
27
  '''
28
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
29
- image = image_generation_tool(theme)
30
  return final_answer(image)
31
  except Exception as e:
32
  return f"Error creating card for theme '{theme}': {str(e)}"
 
26
  )
27
  '''
28
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
29
+ image = image_generation_tool(f"Valentine's Day card with theme '{theme}'")
30
  return final_answer(image)
31
  except Exception as e:
32
  return f"Error creating card for theme '{theme}': {str(e)}"