priyar84 commited on
Commit
6a4f05f
·
verified ·
1 Parent(s): 4acb111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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