Update app.py
Browse files
app.py
CHANGED
@@ -374,4 +374,4 @@ description = "Gradio demo for Language-driven Semantic Segmentation. To use it,
|
|
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,["
|
|
|
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,[gr.inputs.Image(type="pil"),"text"],"plot",title=title,description=description,article=article).launch(enable_queue=True)
|