IAMTFRMZA commited on
Commit
06e4890
·
1 Parent(s): 854716f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -59,14 +59,13 @@ outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
59
 
60
  # Define style
61
  title = "Image Recognition Demo"
62
- description = "This is a prototype application which demonstrates how artifical intelligence based systems can recognize what object(s) is present in an image. This fundamental task in computer vision known as `Image Classification` has applications stretching from autonomous vehicles to medical imaging. To use it, simply upload your image, or click one of the examples images to load them, which I took at <a href='https://espacepourlavie.ca/en/biodome' target='_blank'>Montréal Biodôme</a>! Read more at the links below."
63
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1512.03385' target='_blank'>Deep Residual Learning for Image Recognition</a> | <a href='https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py' target='_blank'>Github Repo</a></p>"
64
 
65
  # Run inference
66
  gr.Interface(inference,
67
  inputs,
68
  outputs,
69
- examples=["example1.jpg", "example2.jpg"],
70
  title=title,
71
  description=description,
72
  article=article,
 
59
 
60
  # Define style
61
  title = "Image Recognition Demo"
62
+ description = "This is a prototype application which demonstrates how artifical intelligence based systems can recognize what object(s) is present in an image. This fundamental task in computer vision known as `Image Classification` has applications stretching from autonomous vehicles to medical imaging. To use it, simply upload your image."
63
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1512.03385' target='_blank'>Deep Residual Learning for Image Recognition</a> | <a href='https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py' target='_blank'>Github Repo</a></p>"
64
 
65
  # Run inference
66
  gr.Interface(inference,
67
  inputs,
68
  outputs,
 
69
  title=title,
70
  description=description,
71
  article=article,