Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
|
2 |
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool, VisitWebpageTool, UserInputTool
|
3 |
import datetime
|
4 |
import requests
|
@@ -10,9 +9,10 @@ import re
|
|
10 |
import logging
|
11 |
from bs4 import BeautifulSoup # Fixed Import
|
12 |
from tools.final_answer import FinalAnswerTool
|
13 |
-
|
14 |
from Gradio_UI import GradioUI
|
15 |
|
|
|
|
|
16 |
@tool
|
17 |
def get_box_score_links() -> list:
|
18 |
"""A tool that fetches the URLs to the boxscores for each of last night's NBA games."""
|
|
|
|
|
1 |
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool, VisitWebpageTool, UserInputTool
|
2 |
import datetime
|
3 |
import requests
|
|
|
9 |
import logging
|
10 |
from bs4 import BeautifulSoup # Fixed Import
|
11 |
from tools.final_answer import FinalAnswerTool
|
|
|
12 |
from Gradio_UI import GradioUI
|
13 |
|
14 |
+
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
|
15 |
+
|
16 |
@tool
|
17 |
def get_box_score_links() -> list:
|
18 |
"""A tool that fetches the URLs to the boxscores for each of last night's NBA games."""
|