Neuralsingh123 commited on
Commit
6b59faa
·
verified ·
1 Parent(s): 38fb13c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,9 +12,9 @@ from Gradio_UI import GradioUI
12
  @tool
13
  def get_news_headlines() -> str:
14
  """
15
- Fetches the top news headlines from the News API for the United States.
16
  This function makes a GET request to the News API to retrieve the top news headlines
17
- for the United States. It returns the titles and sources of the top 5 articles as a
18
  formatted string. If no articles are available, it returns a message indicating that
19
  no news is available. In case of a request error, it returns an error message.
20
  Returns:
 
12
  @tool
13
  def get_news_headlines() -> str:
14
  """
15
+ Fetches the top news headlines from the News API for India.
16
  This function makes a GET request to the News API to retrieve the top news headlines
17
+ for India. It returns the titles and sources of the top 5 articles as a
18
  formatted string. If no articles are available, it returns a message indicating that
19
  no news is available. In case of a request error, it returns an error message.
20
  Returns: