Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def predict_image(img):
|
|
| 29 |
|
| 30 |
description_html = """
|
| 31 |
|
| 32 |
-
<p>Upload a face image
|
| 33 |
"""
|
| 34 |
|
| 35 |
# Define example images and their true labels for users to choose from
|
|
@@ -42,7 +42,7 @@ gr.Interface(
|
|
| 42 |
fn=predict_image,
|
| 43 |
inputs='image',
|
| 44 |
outputs='text',
|
| 45 |
-
title="Deepfake Image Detection
|
| 46 |
description=description_html,
|
| 47 |
allow_flagging='never'
|
| 48 |
).launch()
|
|
|
|
| 29 |
|
| 30 |
description_html = """
|
| 31 |
|
| 32 |
+
<p>Upload a face image to check if it's real or morphed with deepfake</p>
|
| 33 |
"""
|
| 34 |
|
| 35 |
# Define example images and their true labels for users to choose from
|
|
|
|
| 42 |
fn=predict_image,
|
| 43 |
inputs='image',
|
| 44 |
outputs='text',
|
| 45 |
+
title="Deepfake Image Detection",
|
| 46 |
description=description_html,
|
| 47 |
allow_flagging='never'
|
| 48 |
).launch()
|