linas-p commited on
Commit
06b1bfa
·
verified ·
1 Parent(s): 539caab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def get_recent_news(description: str) -> str:
64
  # Parse the HTML content to extract plain text
65
  soup = BeautifulSoup(html_content, "html.parser")
66
  plain_text = soup.get_text(separator="\n", strip=True)
67
- return plain_text
68
 
69
  except requests.RequestException as e:
70
  return f"Error fetching HTML: {str(e)}"
 
64
  # Parse the HTML content to extract plain text
65
  soup = BeautifulSoup(html_content, "html.parser")
66
  plain_text = soup.get_text(separator="\n", strip=True)
67
+ return "Unverified. The list of possible news to consider, need to revise first: " + plain_text
68
 
69
  except requests.RequestException as e:
70
  return f"Error fetching HTML: {str(e)}"