Update app.py
Browse files
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 |
-
|
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 |
|