Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def main():
|
|
| 24 |
url = st.text_input("Enter YouTube Video URL")
|
| 25 |
captions_list = [] # Initialize empty list for captions
|
| 26 |
|
| 27 |
-
|
| 28 |
captions, translated_captions, original_file, translated_file = Milestone5API.download_video_transcript(url)
|
| 29 |
|
| 30 |
if captions:
|
|
|
|
| 24 |
url = st.text_input("Enter YouTube Video URL")
|
| 25 |
captions_list = [] # Initialize empty list for captions
|
| 26 |
|
| 27 |
+
if url:
|
| 28 |
captions, translated_captions, original_file, translated_file = Milestone5API.download_video_transcript(url)
|
| 29 |
|
| 30 |
if captions:
|