Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ if __name__ == "__main__":
|
|
| 15 |
# Title
|
| 16 |
st.title("Translate YouTube Video to French with Hugging Face")
|
| 17 |
url = st.text_input("Enter YouTube Video URL")
|
| 18 |
-
captions = download_video_transcript(url)
|
| 19 |
if captions:
|
| 20 |
st.write(captions)
|
| 21 |
else:
|
|
|
|
| 15 |
# Title
|
| 16 |
st.title("Translate YouTube Video to French with Hugging Face")
|
| 17 |
url = st.text_input("Enter YouTube Video URL")
|
| 18 |
+
captions = functions.download_video_transcript(url)
|
| 19 |
if captions:
|
| 20 |
st.write(captions)
|
| 21 |
else:
|