Update roop/predictor.py
Browse files- 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:
|