Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,9 @@ def count_letters_in_word(arg1:str, arg2:str)-> str: #it's import to specify the
|
|
| 16 |
arg1: The word passed to this tool to have its letters counted'
|
| 17 |
arg2: The letter to check for
|
| 18 |
"""
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 16 |
arg1: The word passed to this tool to have its letters counted'
|
| 17 |
arg2: The letter to check for
|
| 18 |
"""
|
| 19 |
+
letter = {arg2}
|
| 20 |
+
word = {arg1}
|
| 21 |
+
return "The number of letter " + {letter} + "'s' in the word " + {word} +" is : " + word.count(letter) + " !"
|
| 22 |
|
| 23 |
@tool
|
| 24 |
def get_current_time_in_timezone(timezone: str) -> str:
|