5m4ck3r commited on
Commit
c1c2031
1 Parent(s): f5f8296

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,7 +99,7 @@ def processAndGetMask(image: str, text: str):
99
 
100
  gr = gradio.Interface(
101
  processAndGetMask,
102
- [gradio.inputs.Image(label="image", type="pil"), "text"],
103
- "image"
104
  )
105
  gr.launch(share=True)
 
99
 
100
  gr = gradio.Interface(
101
  processAndGetMask,
102
+ [gradio.Image(label="Input Image", type="pil"), gradio.Text(label="Input text to segment")],
103
+ gradio.Image(label="Output Image", type="pil")
104
  )
105
  gr.launch(share=True)