thugCodeNinja
commited on
Commit
•
08f237f
1
Parent(s):
d3e9542
Update app.py
Browse files
app.py
CHANGED
@@ -154,12 +154,6 @@ def deepfakespredict(input_video):
|
|
154 |
|
155 |
|
156 |
title="EfficientNetV2 Deepfakes Video Detector"
|
157 |
-
description="This is a demo implementation of EfficientNetV2 Deepfakes Image Detector by using frame-by-frame detection. \
|
158 |
-
To use it, simply upload your video, or click one of the examples to load them.\
|
159 |
-
This demo and model represent the Final Year Project titled \"Achieving Face Swapped Deepfakes Detection Using EfficientNetV2\" by a CS undergraduate Lee Sheng Yeh. \
|
160 |
-
The examples were extracted from Celeb-DF(V2)(Li et al, 2020) and FaceForensics++(Rossler et al., 2019). Full reference details is available in \"references.txt.\" \
|
161 |
-
The examples are used under fair use to demo the working of the model only. If any copyright is infringed, please contact the researcher via this email: tp054565@mail.apu.edu.my.\
|
162 |
-
"
|
163 |
|
164 |
examples = [
|
165 |
['Video1-fake-1-ff.mp4'],
|
@@ -174,6 +168,5 @@ gr.Interface(deepfakespredict,
|
|
174 |
inputs = ["video"],
|
175 |
outputs=["text","text", gr.Video(label="Detected face sequence")],
|
176 |
title=title,
|
177 |
-
description=description,
|
178 |
examples=examples
|
179 |
).launch()
|
|
|
154 |
|
155 |
|
156 |
title="EfficientNetV2 Deepfakes Video Detector"
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
examples = [
|
159 |
['Video1-fake-1-ff.mp4'],
|
|
|
168 |
inputs = ["video"],
|
169 |
outputs=["text","text", gr.Video(label="Detected face sequence")],
|
170 |
title=title,
|
|
|
171 |
examples=examples
|
172 |
).launch()
|