davidlms commited on
Commit
f68e76a
·
verified ·
1 Parent(s): 5c4337c

Update roop/predictor.py

Browse files
Files changed (1) hide show
  1. roop/predictor.py +2 -1
roop/predictor.py CHANGED
@@ -35,7 +35,8 @@ def predict_frame(target_frame: Frame) -> bool:
35
 
36
 
37
  def predict_image(target_path: str) -> bool:
38
- return opennsfw2.predict_image(target_path) > MAX_PROBABILITY
 
39
 
40
 
41
  def predict_video(target_path: str) -> bool:
 
35
 
36
 
37
  def predict_image(target_path: str) -> bool:
38
+ #return opennsfw2.predict_image(target_path) > MAX_PROBABILITY
39
+ return False
40
 
41
 
42
  def predict_video(target_path: str) -> bool: