wldmr commited on
Commit
4e99e82
·
1 Parent(s): 750c85a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def predict(brakes, transcript):
11
 
12
  # preprocess the text by removing filler words
13
  # Define a list of filler words to remove
14
- filler_words = ["um", "uh", "hmm", "ha", "er", "ah"]
15
  words = transcript.split()
16
  clean_words = [word for word in words if word.lower() not in filler_words]
17
  input_text = " ".join(clean_words)
 
11
 
12
  # preprocess the text by removing filler words
13
  # Define a list of filler words to remove
14
+ filler_words = ["um", "uh", "hmm", "ha", "er", "ah", "yeah"]
15
  words = transcript.split()
16
  clean_words = [word for word in words if word.lower() not in filler_words]
17
  input_text = " ".join(clean_words)