akhaliq HF staff commited on
Commit
2b95d92
1 Parent(s): be1ceb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -369,4 +369,9 @@ def inference(image,text):
369
 
370
  return plt
371
 
372
- gr.Interface(inference,["image","text"],"plot").launch(debug=True)
 
 
 
 
 
 
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)