Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -377,6 +377,13 @@ from googleapiclient.discovery import build
|
|
| 377 |
|
| 378 |
# print(f"\nTotal Sentences Analyzed: {sentiment['total_sentences']}")
|
| 379 |
#####################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 380 |
def process_youtube_video(url="", keywords=""):
|
| 381 |
try:
|
| 382 |
thumbnail = None
|
|
|
|
| 377 |
|
| 378 |
# print(f"\nTotal Sentences Analyzed: {sentiment['total_sentences']}")
|
| 379 |
#####################################################################################################
|
| 380 |
+
from pytube import YouTube
|
| 381 |
+
import os
|
| 382 |
+
import re
|
| 383 |
+
from textblob import TextBlob
|
| 384 |
+
from youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, NoTranscriptFound
|
| 385 |
+
import google.generativeai as genai
|
| 386 |
+
|
| 387 |
def process_youtube_video(url="", keywords=""):
|
| 388 |
try:
|
| 389 |
thumbnail = None
|