Update app.py
Browse files
app.py
CHANGED
@@ -82,6 +82,8 @@ def get_result(video_url, summarize=True):
|
|
82 |
# Fetch transcript using the video ID
|
83 |
yt_video = YoutubeVideoID(video_url)
|
84 |
transcript_text = get_transcript(yt_video.video_id)
|
|
|
|
|
85 |
if summarize == False:
|
86 |
return transcript_text
|
87 |
transcript_chunks = split_text(transcript_text)
|
|
|
82 |
# Fetch transcript using the video ID
|
83 |
yt_video = YoutubeVideoID(video_url)
|
84 |
transcript_text = get_transcript(yt_video.video_id)
|
85 |
+
print(yt_video.video_id)
|
86 |
+
print(summarize)
|
87 |
if summarize == False:
|
88 |
return transcript_text
|
89 |
transcript_chunks = split_text(transcript_text)
|