johnkirkwood commited on
Commit
c5ba1d2
·
verified ·
1 Parent(s): 6b56e0c

Update app.py

Browse files

updated count_string_occurrences function

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from tools.final_answer import FinalAnswerTool
8
  from Gradio_UI import GradioUI
9
 
10
  @tool
11
- def count_string_occurrences(main_string, sub_string) -> int:
12
  """
13
  Returns the number of times sub_string occurs in main_string.
14
 
 
8
  from Gradio_UI import GradioUI
9
 
10
  @tool
11
+ def count_string_occurrences(main_string: str, sub_string:str) -> int:
12
  """
13
  Returns the number of times sub_string occurs in main_string.
14