Ahsen Khaliq commited on
Commit
7a28a77
1 Parent(s): 4a0430e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,8 +40,8 @@ outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
40
  title = "ConvNeXt"
41
  description = "Gradio demo for ConvNeXt. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
42
 
43
- article = "<p style='text-align: center'><a href='A ConvNet for the 2020s'>MobileNetV2: Inverted Residuals and Linear Bottlenecks</a> | <a href='https://github.com/facebookresearch/ConvNeXt'>Github Repo</a> | <a href='https://github.com/leondgarse/keras_cv_attention_models'>pretrained ConvNeXt model from keras_cv_attention_models</a></p>"
44
 
45
- examples = ['']
46
 
47
- gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, analytics_enabled=False).launch()
 
40
  title = "ConvNeXt"
41
  description = "Gradio demo for ConvNeXt. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
42
 
43
+ article = "<p style='text-align: center'><a href='A ConvNet for the 2020s'>MobileNetV2: Inverted Residuals and Linear Bottlenecks</a> | <a href='https://github.com/facebookresearch/ConvNeXt'>Github Repo</a> | <a href='https://github.com/leondgarse/keras_cv_attention_models'>pretrained ConvNeXt model from keras_cv_attention_models</a> | <a href='https://github.com/stanislavfort/adversaries_to_convnext'>examples usage from adversaries_to_convnext</a></p>"
44
 
45
+ examples = ['Tortoise-on-ground-surrounded-by-plants.jpeg']
46
 
47
+ gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, analytics_enabled=False, examples=examples).launch()