Ahsen Khaliq
commited on
Commit
•
dc28d34
1
Parent(s):
aaae048
Update app.py
Browse files
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 = "
|
41 |
-
description = "Gradio demo for
|
42 |
-
|
|
|
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()
|