Masrkai commited on
Commit
6eaa07a
·
verified ·
1 Parent(s): cdb5db8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
36
 
37
  @tool
38
- def image_generation_tool(prompt: str) -> Image:
39
  """A tool that generates images using the FLUX.1-schnell model.
40
  Args:
41
  prompt: A string containing the image generation prompt.
 
35
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
36
 
37
  @tool
38
+ def image_generation_tool(prompt: str) -> str:
39
  """A tool that generates images using the FLUX.1-schnell model.
40
  Args:
41
  prompt: A string containing the image generation prompt.