Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,6 @@ import gradio as gr
|
|
3 |
title="Swin Transformer"
|
4 |
description="Gradio Demo for Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
5 |
|
6 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/
|
7 |
|
8 |
gr.Interface.load("huggingface/microsoft/swin-large-patch4-window12-384-in22k",title=title, article=article,description=description,examples=[["tiger.jpeg"]]).launch(enable_queue=True,cache_examples=True)
|
|
|
3 |
title="Swin Transformer"
|
4 |
description="Gradio Demo for Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
5 |
|
6 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2103.14030' target='_blank'>Swin Transformer: Hierarchical Vision Transformer using Shifted Windows</a> | <a href='https://github.com/microsoft/Swin-Transformer' target='_blank'>Github Repo</a></p>"
|
7 |
|
8 |
gr.Interface.load("huggingface/microsoft/swin-large-patch4-window12-384-in22k",title=title, article=article,description=description,examples=[["tiger.jpeg"]]).launch(enable_queue=True,cache_examples=True)
|