aashwinik commited on
Commit
30cc99d
1 Parent(s): 6a40d06

Update Face_Censoring.py

Browse files
Files changed (1) hide show
  1. Face_Censoring.py +4 -3
Face_Censoring.py CHANGED
@@ -32,6 +32,7 @@ def censor_face(filePath):
32
  success, frame = video.read()
33
 
34
  output.release()
35
- st.write(type(output))
36
- st.write(type(frame))
37
- return output
 
 
32
  success, frame = video.read()
33
 
34
  output.release()
35
+
36
+ tfile2 = tempfile.NamedTemporaryFile(delete=False)
37
+ tfile2.write(output.read())
38
+ return tfile2