Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,9 @@ def classify_image(img):
|
|
30 |
|
31 |
# Gradio interface
|
32 |
demo = gr.Interface(
|
|
|
33 |
title="Stage of Human Decay Classification",
|
34 |
description = "Predict the stage of decay of a corpse.",
|
35 |
-
fn=classify_image,
|
36 |
inputs=gr.Image(type="pil"),
|
37 |
outputs=[gr.Label(num_top_classes=len(class_labels)), gr.Number()],
|
38 |
live=True,
|
|
|
30 |
|
31 |
# Gradio interface
|
32 |
demo = gr.Interface(
|
33 |
+
fn=classify_image,
|
34 |
title="Stage of Human Decay Classification",
|
35 |
description = "Predict the stage of decay of a corpse.",
|
|
|
36 |
inputs=gr.Image(type="pil"),
|
37 |
outputs=[gr.Label(num_top_classes=len(class_labels)), gr.Number()],
|
38 |
live=True,
|