franckberneron commited on
Commit
2cb9bc8
·
1 Parent(s): 908f5d2

Add timezone argument

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
36
 
37
  final_answer = FinalAnswerTool()
38
  web_search = DuckDuckGoSearchTool()
39
- time_zone = get_current_time_in_timezone()
40
 
41
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
42
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
36
 
37
  final_answer = FinalAnswerTool()
38
  web_search = DuckDuckGoSearchTool()
39
+ time_zone = get_current_time_in_timezone(timezone)
40
 
41
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
42
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'