not-lain commited on
Commit
e8864a3
1 Parent(s): ee7ef7f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -1,3 +1,14 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+ # original model repo :
5
+ 📖 this is a cutomized version of the following model [aaronespasa/deepfake-detection-resnetinceptionv1](https://huggingface.co/aaronespasa/deepfake-detection-resnetinceptionv1)
6
+ # how to use
7
+ ```python
8
+ from transformers import pipeline
9
+ pipe = pipeline(model="not-lain/deepfake",trust_remote_code=True)
10
+ pipe.predict("img_path.jpg")
11
+ ```
12
+ ```python
13
+ >> {"confidences":confidences,"face_with_mask": face_with_mask}
14
+ ```