Spaces:
Runtime error
Runtime error
Commit
·
e79bb4b
1
Parent(s):
5d8a73f
paper
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def inference(image):
|
|
52 |
|
53 |
title = "Transformers - SegFormer B5 @ 1024px"
|
54 |
description = "demo for SegFormer. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below.\nModel: nvidia/segformer-b5-finetuned-cityscapes-1024-1024"
|
55 |
-
article = "<p style='text-align: center'><a href='https://huggingface.co/transformers/model_doc/segformer.html#segformerforsemanticsegmentation'>Segformer page</a></p>"
|
56 |
|
57 |
gr.Interface(
|
58 |
inference,
|
|
|
52 |
|
53 |
title = "Transformers - SegFormer B5 @ 1024px"
|
54 |
description = "demo for SegFormer. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below.\nModel: nvidia/segformer-b5-finetuned-cityscapes-1024-1024"
|
55 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2105.15203'>SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers</a> | <a href='https://huggingface.co/transformers/model_doc/segformer.html#segformerforsemanticsegmentation'>Segformer page</a></p>"
|
56 |
|
57 |
gr.Interface(
|
58 |
inference,
|