Spaces:
Sleeping
Sleeping
Update Face_Censoring.py
Browse files36 unmodified lines373839404142434445464748495040515253545536 unmodified lines output.release() video.release() st.write(tfile2.name) st.write(tfile2) result_video = open(tfile2.name, "rb") vid_bytes = result_video.read() #with open(tfile2.name, "rb") as file: # btn = st.download_button( # label="Download video", # data=file, # file_name=tfile2.name, # mime="video/mp4" # )
#video_file = open(tfile2.name, 'rb') #video_bytes = video_file.read() st.video(vid_bytes) return tfile2Face_Censoring.py+15-1