Digvijay760 commited on
Commit
95eb5f2
·
verified ·
1 Parent(s): 8c5c24b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -4,6 +4,7 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
 
7
 
8
  from Gradio_UI import GradioUI
9
 
@@ -16,7 +17,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
16
  arg1: the first argument
17
  arg2: the second argument
18
  """
19
- return "What magic will you build ?"
 
 
20
 
21
  @tool
22
  def get_current_time_in_timezone(timezone: str) -> str:
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+ from datetime import datetime
8
 
9
  from Gradio_UI import GradioUI
10
 
 
17
  arg1: the first argument
18
  arg2: the second argument
19
  """
20
+ current_datetime = datetime.now()
21
+
22
+ return (f"What magic will you build on {current_datetime.date()}?")
23
 
24
  @tool
25
  def get_current_time_in_timezone(timezone: str) -> str: