kdecision commited on
Commit
8cd670c
·
verified ·
1 Parent(s): a116234

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
33
  return f"The current local time in {timezone} is: {local_time}"
34
  except Exception as e:
35
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
36
-
37
  def generate_image(description: str) -> str:
38
  """A tool to generate images based on a text prompt.
39
 
 
33
  return f"The current local time in {timezone} is: {local_time}"
34
  except Exception as e:
35
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
36
+ @tool
37
  def generate_image(description: str) -> str:
38
  """A tool to generate images based on a text prompt.
39