nangelov commited on
Commit
c948137
·
verified ·
1 Parent(s): 80115f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -15,8 +15,7 @@ FOOTBALL_DATA_TOKEN = os.getenv('football_data_token')
15
 
16
  @tool
17
  def getCompetitionInitials(competition_name: str)-> str:
18
- """A tool that returns the competition initials (code) for a given competition name.
19
-
20
  Args:
21
  competition_name: A string representing the full name of the competition, e.g., "Premier League" or "Bundesliga".
22
  """
@@ -45,9 +44,8 @@ def getCompetitionInitials(competition_name: str)-> str:
45
  @tool
46
  def getCompetitionMatchesResultsByDate(competition_code: str, match_date: date)-> dict:
47
  """A tool that returns football match results for a given competition on a specified date.
48
-
49
  Args:
50
- competition_code: A string representing the code of the competition (e.g., 'PL' for Premier League).
51
  match_date: A date representing the date for which to retrieve match results (format: YYYY-MM-DD).
52
  """
53
 
 
15
 
16
  @tool
17
  def getCompetitionInitials(competition_name: str)-> str:
18
+ """A tool that returns the competition code for a given competition name.
 
19
  Args:
20
  competition_name: A string representing the full name of the competition, e.g., "Premier League" or "Bundesliga".
21
  """
 
44
  @tool
45
  def getCompetitionMatchesResultsByDate(competition_code: str, match_date: date)-> dict:
46
  """A tool that returns football match results for a given competition on a specified date.
 
47
  Args:
48
+ competition_code: A string representing the code of the competition (for example: 'PL' for Premier League).
49
  match_date: A date representing the date for which to retrieve match results (format: YYYY-MM-DD).
50
  """
51