Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def count_letter_occurrences(word: str, letter: str) -> int:
|
|
| 16 |
Returns:
|
| 17 |
An integer representing the number of occurrences of the letter in the word.
|
| 18 |
"""
|
| 19 |
-
return word.count(letter)
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 16 |
Returns:
|
| 17 |
An integer representing the number of occurrences of the letter in the word.
|
| 18 |
"""
|
| 19 |
+
return word.lower().count(letter.lower())
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|