Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def get_subtitle(url, lang='en'):
|
|
39 |
video_id = info_dict.get("id", None)
|
40 |
if video_id is None:
|
41 |
return None
|
42 |
-
|
43 |
print(info_dict)
|
44 |
subtitle_file = f"{video_id}.{lang}.vtt"
|
45 |
with open(subtitle_file, 'r') as f:
|
|
|
39 |
video_id = info_dict.get("id", None)
|
40 |
if video_id is None:
|
41 |
return None
|
42 |
+
|
43 |
print(info_dict)
|
44 |
subtitle_file = f"{video_id}.{lang}.vtt"
|
45 |
with open(subtitle_file, 'r') as f:
|