Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,5 +44,10 @@ def main():
|
|
| 44 |
else:
|
| 45 |
st.write("Provided URL did not contain captions or translations")
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
if __name__ == "__main__":
|
| 48 |
main()
|
|
|
|
| 44 |
else:
|
| 45 |
st.write("Provided URL did not contain captions or translations")
|
| 46 |
|
| 47 |
+
# video
|
| 48 |
+
video_file = open(url, 'rb')
|
| 49 |
+
video_bytes = video_file.read()
|
| 50 |
+
st.video(video_bytes)
|
| 51 |
+
|
| 52 |
if __name__ == "__main__":
|
| 53 |
main()
|