Masrkai commited on
Commit
06b28a7
·
verified ·
1 Parent(s): 1497f70

Update app.py

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