File size: 744 Bytes
4ead16c f3f8c30 4ead16c f3f8c30 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
---
license: apache-2.0
base_model: aaronespasa/deepfake-detection-resnetinceptionv1
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}
```
# dependencies
to install related dependencies simply use the command
```
!wget https://huggingface.co./not-lain/deepfake/resolve/main/requirements.txt && pip install -r requirements.txt
``` |