Spaces:
Runtime error
Runtime error
bugs
Browse files
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)
|