Update app.py
Browse files
app.py
CHANGED
@@ -369,4 +369,9 @@ def inference(image,text):
|
|
369 |
|
370 |
return plt
|
371 |
|
372 |
-
|
|
|
|
|
|
|
|
|
|
|
|
369 |
|
370 |
return plt
|
371 |
|
372 |
+
title = "Lang-Seg"
|
373 |
+
description = "Gradio demo for Language-driven Semantic Segmentation. To use it, simply add your image and text or click one of the examples to load them. Read more at the links below."
|
374 |
+
|
375 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.03546' target='_blank'>Language-driven Semantic Segmentation</a> | <a href='https://github.com/isl-org/lang-seg' target='_blank'>Github Repo</a></p>"
|
376 |
+
|
377 |
+
gr.Interface(inference,["image","text"],"plot",title=title,description=description,article=article).launch(enable_queue=True)
|