Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def get_random_word(letter: str)-> str: #it's import to specify the return type
|
|
| 17 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 18 |
"""A tool that does gives you a random word starting with a specified letter
|
| 19 |
Args:
|
| 20 |
-
|
| 21 |
"""
|
| 22 |
letter_list = filter(str.startswith(letter), WORDS)
|
| 23 |
random_word = random.choice(letter_list)
|
|
|
|
| 17 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 18 |
"""A tool that does gives you a random word starting with a specified letter
|
| 19 |
Args:
|
| 20 |
+
letter: A string containing the first letter for the random word
|
| 21 |
"""
|
| 22 |
letter_list = filter(str.startswith(letter), WORDS)
|
| 23 |
random_word = random.choice(letter_list)
|