sreepathi-ravikumar commited on
Commit
a6d0083
·
verified ·
1 Parent(s): 1a2bb4e

Update video2.py

Browse files
Files changed (1) hide show
  1. video2.py +1 -1
video2.py CHANGED
@@ -112,7 +112,7 @@ def analyze_and_segment(text):
112
  global_index = 0
113
 
114
  for word in words:
115
- clean_w = word.strip(".,!?;:"'")
116
  if not clean_w:
117
  if current_words:
118
  current_words[-1] += word
 
112
  global_index = 0
113
 
114
  for word in words:
115
+ clean_w = word.strip(".,!?;:'")
116
  if not clean_w:
117
  if current_words:
118
  current_words[-1] += word