nangelov commited on
Commit
e3e6cb8
·
verified ·
1 Parent(s): 256f87d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -87,6 +87,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
87
 
88
 
89
  final_answer = FinalAnswerTool()
 
 
90
 
91
  # 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:
92
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
@@ -107,7 +109,7 @@ with open("prompts.yaml", 'r') as stream:
107
 
108
  agent = CodeAgent(
109
  model=model,
110
- tools=[final_answer], ## add your tools here (don't remove final answer)
111
  max_steps=6,
112
  verbosity_level=1,
113
  grammar=None,
 
87
 
88
 
89
  final_answer = FinalAnswerTool()
90
+ fetch_football_results = search_Competition_Matches_Results_By_Date()
91
+ get_current_time = get_current_time_in_timezone()
92
 
93
  # 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:
94
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
109
 
110
  agent = CodeAgent(
111
  model=model,
112
+ tools=[final_answer],[fetch_football_results],[get_current_time] ## add your tools here (don't remove final answer)
113
  max_steps=6,
114
  verbosity_level=1,
115
  grammar=None,