Ahsen Khaliq
commited on
Commit
•
e92a4ce
1
Parent(s):
5ac4803
Update app.py
Browse files
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
|
68 |
|
69 |
-
examples = ['
|
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)
|