Spaces:
Runtime error
Runtime error
Update app.py
Browse filesRemoved image as output since undefined type
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)
|
| 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.
|