aashwinik commited on
Commit
ad3d9a1
·
verified ·
1 Parent(s): c3a2437

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -17,15 +17,15 @@ if uploaded_file is not None:
17
  video_bytes = video_file.read()
18
  st.video(video_bytes)
19
 
20
- with open(output, "rb") as file:
21
- btn = st.download_button(
22
- label="Download video",
23
- data=file,
24
- file_name=output,
25
- mime="video/mp4"
26
- )
27
 
28
- video_file = open(output, 'rb')
29
- video_bytes = video_file.read()
30
- st.video(video_bytes)
31
 
 
17
  video_bytes = video_file.read()
18
  st.video(video_bytes)
19
 
20
+ with open(output, "rb") as file:
21
+ btn = st.download_button(
22
+ label="Download video",
23
+ data=file,
24
+ file_name=output,
25
+ mime="video/mp4"
26
+ )
27
 
28
+ video_file = open(output, 'rb')
29
+ video_bytes = video_file.read()
30
+ st.video(video_bytes)
31