annanau commited on
Commit
36a3ee3
·
verified ·
1 Parent(s): c9ac673

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -31,11 +31,12 @@ def classify_image(img):
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 (fresh, early decay, advanced decay, or skeletonized) of a head. This is a demo of one of our models: https://huggingface.co/icputrd/megyesi_decomposition_classification/blob/main/head/xception",
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__":