hasibzunair commited on
Commit
d169426
1 Parent(s): df67541

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,8 +52,8 @@ def inference(input_image):
52
  inputs = gr.inputs.Image(type='pil')
53
  outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
54
 
55
- title = "Image Recognition using ResNet"
56
- description = "Demo of a ResNet image classifier trained on the ImageNet dataset. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
57
  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>"
58
 
59
  gr.Interface(inference,
 
52
  inputs = gr.inputs.Image(type='pil')
53
  outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
54
 
55
+ title = "Image Recognition Demo"
56
+ 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 to load them. Read more at the links below."
57
  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>"
58
 
59
  gr.Interface(inference,