Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def processAndGetMask(image: str, text: str):
|
|
99 |
|
100 |
gr = gradio.Interface(
|
101 |
processAndGetMask,
|
102 |
-
[gradio.
|
103 |
-
"
|
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)
|