Ahsen Khaliq commited on
Commit
0ca4068
1 Parent(s): 7a28a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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> | <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()
 
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' target='_blank'>MobileNetV2: Inverted Residuals and Linear Bottlenecks</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>"
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(enable_queue=True)