Spaces:
Sleeping
Sleeping
Update Face_Censoring.py
Browse files36 unmodified lines373839404136 unmodified linesoutput.release()video.release()return tfile236 unmodified lines3738394041424344454647484950515253545536 unmodified linesoutput.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 tfile2
Face_Censoring.py+15-1