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 |
-
[
|
103 |
"image"
|
104 |
)
|
105 |
gr.launch(share=True)
|
|
|
99 |
|
100 |
gr = gradio.Interface(
|
101 |
processAndGetMask,
|
102 |
+
[gradio.inputs.Image(label="image", type="pil"), "text"],
|
103 |
"image"
|
104 |
)
|
105 |
gr.launch(share=True)
|