Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,17 +6,8 @@ import os
|
|
6 |
|
7 |
# Create the Gradio app
|
8 |
app = gr.Interface(
|
9 |
-
fn=detect_and_label_faces,
|
10 |
inputs=gr.Image(type="pil"),
|
11 |
-
|
12 |
-
# examples=[
|
13 |
-
# "path_to_example_image_1.jpg",
|
14 |
-
# "path_to_example_image_2.jpg"
|
15 |
-
# ]
|
16 |
-
examples=[
|
17 |
-
os.path.join("Examples", image_name) for image_name in os.listdir("Examples")
|
18 |
-
],
|
19 |
-
title="Fake Face Detection",
|
20 |
description=description_markdown,
|
21 |
)
|
22 |
|
|
|
6 |
|
7 |
# Create the Gradio app
|
8 |
app = gr.Interface(
|
|
|
9 |
inputs=gr.Image(type="pil"),
|
10 |
+
title="App Detection",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
description=description_markdown,
|
12 |
)
|
13 |
|