Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,10 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
23 |
except Exception as e:
|
24 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
25 |
|
|
|
|
|
|
|
|
|
26 |
|
27 |
final_answer = FinalAnswerTool()
|
28 |
|
|
|
23 |
except Exception as e:
|
24 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
25 |
|
26 |
+
cat_fact = "A cat is a form of self healing"
|
27 |
+
prompt = f"Motivational cat image with the message: '{cat_fact}'"
|
28 |
+
image = image_generator(prompt=prompt)
|
29 |
+
final_answer(image)
|
30 |
|
31 |
final_answer = FinalAnswerTool()
|
32 |
|