csiadat commited on
Commit
7ae2905
·
verified ·
1 Parent(s): c31b0e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ def create_new_vday_card_tool(theme:str) -> str: #it's import to specify the ret
16
  theme: A string representing the theme for the Valentine's Day card.
17
  """
18
  try:
19
- image_generation_tool(theme)
 
20
  except Exception as e:
21
  return f"Error creating image for theme '{theme}': {str(e)}"
22
 
 
16
  theme: A string representing the theme for the Valentine's Day card.
17
  """
18
  try:
19
+ image = image_generation_tool(theme)
20
+ final_answer(image)
21
  except Exception as e:
22
  return f"Error creating image for theme '{theme}': {str(e)}"
23