Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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) ->
|
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.
|