gautam1222 commited on
Commit
67cda11
·
verified ·
1 Parent(s): ced6b69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,9 +14,9 @@ from Gradio_UI import GradioUI
14
  def get_wikipedia_news(topic: str, limit: int = 5, delay: float = 0.0) -> list:
15
  """A tool that fetches connects to a live Wikipedia edit stream and looks for edits where the title or comment contains the given topic. If there is a match, it saves details like the page title, user, comment, and timestamp.
16
  Args:
17
- topic (str): The word or phrase to search for in Wikipedia edits.
18
- limit (int): The number of edits to collect (default: 5).
19
- delay (float): Time in seconds to wait between edits (default: 0.0).
20
  Returns:
21
  list: A list of edits, each containing:
22
  - title (str): The page that was edited.
 
14
  def get_wikipedia_news(topic: str, limit: int = 5, delay: float = 0.0) -> list:
15
  """A tool that fetches connects to a live Wikipedia edit stream and looks for edits where the title or comment contains the given topic. If there is a match, it saves details like the page title, user, comment, and timestamp.
16
  Args:
17
+ topic: The word or phrase to search for in Wikipedia edits.
18
+ limit: The number of edits to collect (default: 5).
19
+ delay: Time in seconds to wait between edits (default: 0.0).
20
  Returns:
21
  list: A list of edits, each containing:
22
  - title (str): The page that was edited.