Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,4 +67,9 @@ description = "Gradio demo for UniFormer: To use it, simply upload your image, o
|
|
| 67 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.09450' target='_blank'>UniFormer: Unifying Convolution and Self-attention for Visual Recognition</a> | <a href='https://github.com/Sense-X/UniFormer' target='_blank'>Github Repo</a></p>"
|
| 68 |
|
| 69 |
|
| 70 |
-
gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.09450' target='_blank'>UniFormer: Unifying Convolution and Self-attention for Visual Recognition</a> | <a href='https://github.com/Sense-X/UniFormer' target='_blank'>Github Repo</a></p>"
|
| 68 |
|
| 69 |
|
| 70 |
+
gr.Interface(
|
| 71 |
+
inference, inputs, outputs=label,
|
| 72 |
+
title=title, description=description,
|
| 73 |
+
article=article,
|
| 74 |
+
examples=[['library.jpg'], ['cat.png'], ['dog.png'], ['panda.png']]
|
| 75 |
+
).launch(enable_queue=True, cache_examples=True)
|