hardknee commited on
Commit
60363a4
·
verified ·
1 Parent(s): f22d7fd

Update app.py

Browse files

Removed image as output since undefined type

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
51
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
52
 
53
  @tool
54
- def generate_image(description: str) -> image:
55
  """A tool that generates an image from a text description.
56
  Args:
57
  description: A string representing the text description to generate an image of.
 
51
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
52
 
53
  @tool
54
+ def generate_image(description: str):
55
  """A tool that generates an image from a text description.
56
  Args:
57
  description: A string representing the text description to generate an image of.