Ahsen Khaliq commited on
Commit
e92a4ce
1 Parent(s): 5ac4803

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -62,10 +62,11 @@ inputs = gr.inputs.Image(type='pil')
62
  outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
63
 
64
  title = "ConvNeXt"
 
65
  description = "Gradio demo for ConvNeXt for image classification. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
66
 
67
- article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.03545' target='_blank'>A ConvNet for the 2020s</a> | <a href='https://github.com/facebookresearch/ConvNeXt' target='_blank'>Github Repo</a> | <a href='https://github.com/leondgarse/keras_cv_attention_models' target='_blank'>pretrained ConvNeXt model from keras_cv_attention_models</a> | <a href='https://github.com/stanislavfort/adversaries_to_convnext' target='_blank'>examples usage from adversaries_to_convnext</a></p>"
68
 
69
- examples = ['Tortoise-on-ground-surrounded-by-plants.jpeg']
70
 
71
  gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, analytics_enabled=False, examples=examples).launch(enable_queue=True)
 
62
  outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
63
 
64
  title = "ConvNeXt"
65
+
66
  description = "Gradio demo for ConvNeXt for image classification. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
67
 
68
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.03545' target='_blank'>A ConvNet for the 2020s</a> | <a href='https://github.com/facebookresearch/ConvNeXt' target='_blank'>Github Repo</a></p>"
69
 
70
+ examples = ['test.jpeg']
71
 
72
  gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, analytics_enabled=False, examples=examples).launch(enable_queue=True)