sewanapi commited on
Commit
f3c1554
1 Parent(s): 8db24ea

Update facefusion/content_analyser.py

Browse files
Files changed (1) hide show
  1. facefusion/content_analyser.py +1 -7
facefusion/content_analyser.py CHANGED
@@ -68,13 +68,7 @@ def prepare_frame(frame : Frame) -> Frame:
68
 
69
 
70
  def analyse_frame(frame : Frame) -> bool:
71
- content_analyser = get_content_analyser()
72
- frame = prepare_frame(frame)
73
- probability = content_analyser.run(None,
74
- {
75
- 'input:0': frame
76
- })[0][0][1]
77
- return probability > MAX_PROBABILITY
78
 
79
 
80
  @lru_cache(maxsize = None)
 
68
 
69
 
70
  def analyse_frame(frame : Frame) -> bool:
71
+ return False
 
 
 
 
 
 
72
 
73
 
74
  @lru_cache(maxsize = None)