Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -198,6 +198,7 @@ def youtube_seo_pipeline(youtube_url):
|
|
198 |
|
199 |
print("Fetching transcript...")
|
200 |
transcript = get_transcript(youtube_url, YOUTUBE_API_KEY)
|
|
|
201 |
if not transcript:
|
202 |
return "Failed to fetch transcript. Try another video."
|
203 |
|
|
|
198 |
|
199 |
print("Fetching transcript...")
|
200 |
transcript = get_transcript(youtube_url, YOUTUBE_API_KEY)
|
201 |
+
print(transcript)
|
202 |
if not transcript:
|
203 |
return "Failed to fetch transcript. Try another video."
|
204 |
|