Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,12 @@ def classify_image(img):
|
|
31 |
# Gradio interface
|
32 |
demo = gr.Interface(
|
33 |
fn=classify_image,
|
34 |
-
title="
|
35 |
-
description = "Predict the stage of decay (fresh, early decay, advanced decay, or skeletonized) of a head. This is a demo of one of our
|
36 |
inputs=gr.Image(type="pil"),
|
37 |
outputs=[gr.Label(num_top_classes=len(class_labels)), gr.Number()],
|
38 |
live=True,
|
|
|
39 |
)
|
40 |
|
41 |
if __name__ == "__main__":
|
|
|
31 |
# Gradio interface
|
32 |
demo = gr.Interface(
|
33 |
fn=classify_image,
|
34 |
+
title="Human Decomposition Classification",
|
35 |
+
description = "Predict the stage of decay (fresh, early decay, advanced decay, or skeletonized) of a head. This is a demo of one of our human decomposition classification <a href=\"https://huggingface.co/icputrd/megyesi_decomposition_classification/blob/main/head/xception\">models</a>",
|
36 |
inputs=gr.Image(type="pil"),
|
37 |
outputs=[gr.Label(num_top_classes=len(class_labels)), gr.Number()],
|
38 |
live=True,
|
39 |
+
article = "Author: <a href=\"https://www.linkedin.com/in/anna-maria-nau/\">Anna-Maria Nau</a>"
|
40 |
)
|
41 |
|
42 |
if __name__ == "__main__":
|