linalkbr commited on
Commit
d5a9a49
·
verified ·
1 Parent(s): 4c0aa2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,7 +35,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
 
37
  final_answer = FinalAnswerTool()
38
- current_timezone = get_current_time_in_timezone()
39
  model = HfApiModel(
40
  max_tokens=2096,
41
  temperature=0.5,
@@ -52,7 +52,7 @@ with open("prompts.yaml", 'r') as stream:
52
 
53
  agent = CodeAgent(
54
  model=model,
55
- tools=[final_answer, current_timezone], ## add your tools here (don't remove final answer)
56
  max_steps=6,
57
  verbosity_level=1,
58
  grammar=None,
 
35
 
36
 
37
  final_answer = FinalAnswerTool()
38
+ #current_timezone = get_current_time_in_timezone()
39
  model = HfApiModel(
40
  max_tokens=2096,
41
  temperature=0.5,
 
52
 
53
  agent = CodeAgent(
54
  model=model,
55
+ tools=[final_answer, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
56
  max_steps=6,
57
  verbosity_level=1,
58
  grammar=None,