Ahsen Khaliq commited on
Commit
dc28d34
1 Parent(s): aaae048

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -37,9 +37,10 @@ def inference(img):
37
  inputs = gr.inputs.Image(type='numpy')
38
  outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
39
 
40
- title = "MOBILENET V2"
41
- description = "Gradio demo for MOBILENET V2, Efficient networks optimized for speed and memory, with residual blocks. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
42
- article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1801.04381'>MobileNetV2: Inverted Residuals and Linear Bottlenecks</a> | <a href='https://github.com/pytorch/vision/blob/master/torchvision/models/mobilenet.py'>Github Repo</a></p>"
 
43
 
44
 
45
  gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, analytics_enabled=False).launch()
 
37
  inputs = gr.inputs.Image(type='numpy')
38
  outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
39
 
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
 
46
  gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, analytics_enabled=False).launch()