Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import datetime
|
|
| 3 |
import requests
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
-
|
| 7 |
from bs4 import BeautifulSoup
|
| 8 |
from tools.final_answer import FinalAnswerTool
|
| 9 |
|
|
@@ -19,7 +19,6 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 19 |
arg2: the second argument
|
| 20 |
"""
|
| 21 |
return "What magic will you build ?"
|
| 22 |
-
from urllib.parse import urljoin
|
| 23 |
|
| 24 |
@tool
|
| 25 |
def get_philippines_news(query: str = None, max_results: int = 5) -> str:
|
|
|
|
| 3 |
import requests
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
+
from urllib.parse import urljoin
|
| 7 |
from bs4 import BeautifulSoup
|
| 8 |
from tools.final_answer import FinalAnswerTool
|
| 9 |
|
|
|
|
| 19 |
arg2: the second argument
|
| 20 |
"""
|
| 21 |
return "What magic will you build ?"
|
|
|
|
| 22 |
|
| 23 |
@tool
|
| 24 |
def get_philippines_news(query: str = None, max_results: int = 5) -> str:
|