Kathir0011 commited on
Commit
d13bdbc
·
verified ·
1 Parent(s): 2d9b27f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def get_transcript(video_url):
27
 
28
  # Fetch the transcript
29
  transcript = YouTubeTranscriptApi.get_transcript(video_id)
30
-
31
  # Join the transcript text into a single string
32
  text = "\n".join([t["text"] for t in transcript])
33
  return text # Return the transcript as a string
 
27
 
28
  # Fetch the transcript
29
  transcript = YouTubeTranscriptApi.get_transcript(video_id)
30
+ print(transcript)
31
  # Join the transcript text into a single string
32
  text = "\n".join([t["text"] for t in transcript])
33
  return text # Return the transcript as a string