RamezCh commited on
Commit
cc25584
·
verified ·
1 Parent(s): 1aad960

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: