tiennlu commited on
Commit
b670eb4
·
verified ·
1 Parent(s): 0c6acd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -279,12 +279,9 @@ def get_transcript(video_id):
279
 
280
 
281
  for t in transcript_data:
282
- if t['text'].lower() not in words_to_remove:
283
- print(t['text'])
284
- print(t['text'].lower())
285
  tran.append(t['text'])
286
- else:
287
- print(t['text'].lower())
288
 
289
  return ' '.join(tran)
290
 
 
279
 
280
 
281
  for t in transcript_data:
282
+ if t['text'].lower().strip() not in words_to_remove:
 
 
283
  tran.append(t['text'])
284
+
 
285
 
286
  return ' '.join(tran)
287