qwikQ8 commited on
Commit
7bd40f6
·
verified ·
1 Parent(s): ff03dab

Update app.py

Browse files

Re instantiate as known

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -56,7 +56,7 @@ import datetime
56
  import requests
57
  import pytz
58
  import yaml
59
- #from tools.final_answer import FinalAnswerTool
60
 
61
  from Gradio_UI import GradioUI
62
 
@@ -87,8 +87,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
87
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
88
 
89
 
90
- ### Initialize the final answer tool
91
- ##final_answer = FinalAnswerTool()
92
 
93
  # Initialize the web search tool
94
  search_tool = DuckDuckGoSearchTool()
 
56
  import requests
57
  import pytz
58
  import yaml
59
+ from tools.final_answer import FinalAnswerTool
60
 
61
  from Gradio_UI import GradioUI
62
 
 
87
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
88
 
89
 
90
+ # Initialize the final answer tool
91
+ final_answer = FinalAnswerTool()
92
 
93
  # Initialize the web search tool
94
  search_tool = DuckDuckGoSearchTool()