sfr8 commited on
Commit
284ce8a
·
1 Parent(s): 375e095

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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()