Spaces:
Runtime error
Runtime error
yangtaowang
commited on
Commit
•
78da8d2
1
Parent(s):
989b477
Update app.py
Browse files
app.py
CHANGED
@@ -18,4 +18,4 @@ description="Gradio demo for TokenCut: Self-Supervised Transformers for Unsuperv
|
|
18 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2202.11539' target='_blank'>Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cut</a> | <a href='https://github.com/YangtaoWANG95/TokenCut' target='_blank'>Github Repo</a></p>"
|
19 |
|
20 |
examples=[['parrot.jpg']]
|
21 |
-
gr.Interface(inference,gr.inputs.Image(type="filepath"),[gr.outputs.Image(type="
|
|
|
18 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2202.11539' target='_blank'>Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cut</a> | <a href='https://github.com/YangtaoWANG95/TokenCut' target='_blank'>Github Repo</a></p>"
|
19 |
|
20 |
examples=[['parrot.jpg']]
|
21 |
+
gr.Interface(inference,gr.inputs.Image(type="filepath"),[gr.outputs.Image(type="filepath",label="TokenCut_attn"),gr.outputs.Image(type="filepath",label="TokenCut_predication")],title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
|