Gas96 commited on
Commit
38a35d2
·
verified ·
1 Parent(s): a657532

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -28,11 +28,9 @@ def get_current_time_in_timezone(timezone: str) -> str:
28
  #Following my creation.
29
  @tool
30
  def get_news(topic: str) -> str:
31
- """Finds an URL where I can read news about a given topic using DuckDuckGo.
32
  Args:
33
  topic: The topic to search for news.
34
- Returns:
35
- A string reporting an url of a news related to the topic or an error message.
36
  """
37
  try:
38
  search_tool=DuckDuckGoSearchTool(max_results=1)
 
28
  #Following my creation.
29
  @tool
30
  def get_news(topic: str) -> str:
31
+ """Finds a newspaper article about a given topic.
32
  Args:
33
  topic: The topic to search for news.
 
 
34
  """
35
  try:
36
  search_tool=DuckDuckGoSearchTool(max_results=1)