deepfake / README.md
not-lain's picture
Update README.md
f021dec verified
|
raw
history blame
584 Bytes
---
license: apache-2.0
base_model: aaronespasa/deepfake-detection-resnetinceptionv1
pipeline_tag: custom_pipeline
library_name: transformers
---
# original model repo :
๐Ÿ“– this is a cutomized version of the following model [aaronespasa/deepfake-detection-resnetinceptionv1](https://huggingface.co/aaronespasa/deepfake-detection-resnetinceptionv1)
# how to use
```python
from transformers import pipeline
pipe = pipeline(model="not-lain/deepfake",trust_remote_code=True)
pipe.predict("img_path.jpg")
```
```python
>> {"confidences":confidences,"face_with_mask": face_with_mask}
```