GoodML commited on
Commit
e6e5803
·
verified ·
1 Parent(s): d374fec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def process_youtube():
98
  try:
99
  # Extract the YouTube video ID from the URL
100
  video_id = youtube_url.split("v=")[-1].split("&")[0]
101
-
102
  try:
103
  # Fetch the transcript for the video using YouTubeTranscriptApi
104
  transcript_data = YouTubeTranscriptApi.get_transcript(video_id)
 
98
  try:
99
  # Extract the YouTube video ID from the URL
100
  video_id = youtube_url.split("v=")[-1].split("&")[0]
101
+ transcript = ""
102
  try:
103
  # Fetch the transcript for the video using YouTubeTranscriptApi
104
  transcript_data = YouTubeTranscriptApi.get_transcript(video_id)