Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,12 @@ examples = [
|
|
83 |
|
84 |
gr.Interface(deepfakespredict,
|
85 |
inputs = ["image"],
|
86 |
-
outputs=[gr.outputs.Image(type="pil", label="Detected face"),
|
|
|
|
|
|
|
87 |
title=title,
|
88 |
description=description,
|
89 |
-
examples = examples
|
|
|
90 |
).launch()
|
|
|
83 |
|
84 |
gr.Interface(deepfakespredict,
|
85 |
inputs = ["image"],
|
86 |
+
outputs=[gr.outputs.Image(type="pil", label="Detected face"),
|
87 |
+
"text",
|
88 |
+
"text",
|
89 |
+
gr.outputs.Label(num_top_classes=None, type="auto", label="Confidence")],
|
90 |
title=title,
|
91 |
description=description,
|
92 |
+
examples = examples,
|
93 |
+
examples_per_page(5)
|
94 |
).launch()
|