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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,["image","text"],"plot",title=title,description=description,article=article).launch(enable_queue=True)
 
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)