Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,6 @@ from tools.final_answer import FinalAnswerTool
|
|
| 6 |
from tools.book_tool import BookSearchTool, BookDetailsTool
|
| 7 |
from tools.arxiv_tool import ArxivSearchTool, LatestPapersTool
|
| 8 |
from tools.web_search import DuckDuckGoSearchTool
|
| 9 |
-
from scheduler import initialize_scheduler
|
| 10 |
from Gradio_UI import GradioUI
|
| 11 |
|
| 12 |
@tool
|
|
@@ -96,9 +95,6 @@ def initialize_agent():
|
|
| 96 |
|
| 97 |
# Launch Gradio UI
|
| 98 |
if __name__ == "__main__":
|
| 99 |
-
# Initialize the scheduler for daily ArXiv updates
|
| 100 |
-
scheduler = initialize_scheduler()
|
| 101 |
-
|
| 102 |
# Initialize and launch the agent
|
| 103 |
agent = initialize_agent()
|
| 104 |
GradioUI(agent).launch()
|
|
|
|
| 6 |
from tools.book_tool import BookSearchTool, BookDetailsTool
|
| 7 |
from tools.arxiv_tool import ArxivSearchTool, LatestPapersTool
|
| 8 |
from tools.web_search import DuckDuckGoSearchTool
|
|
|
|
| 9 |
from Gradio_UI import GradioUI
|
| 10 |
|
| 11 |
@tool
|
|
|
|
| 95 |
|
| 96 |
# Launch Gradio UI
|
| 97 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
| 98 |
# Initialize and launch the agent
|
| 99 |
agent = initialize_agent()
|
| 100 |
GradioUI(agent).launch()
|