Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,14 +9,14 @@ from Gradio_UI import GradioUI
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
-
def scrape_wiki_fifa_winners(
|
| 13 |
"""
|
| 14 |
This tool is used to obtain information regarding FIFA World Cup winners
|
| 15 |
for the male and female soccer competitions.
|
| 16 |
|
| 17 |
Args:
|
| 18 |
-
|
| 19 |
-
|
| 20 |
|
| 21 |
|
| 22 |
"""
|
|
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
+
def scrape_wiki_fifa_winners(year: int, cat: str) -> str:
|
| 13 |
"""
|
| 14 |
This tool is used to obtain information regarding FIFA World Cup winners
|
| 15 |
for the male and female soccer competitions.
|
| 16 |
|
| 17 |
Args:
|
| 18 |
+
year : An integer representing the year of the World Cip.
|
| 19 |
+
cat : A string representing The competition category, either "Men" or "Women".
|
| 20 |
|
| 21 |
|
| 22 |
"""
|