Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def processAndGetMask(base64_image: str, text: str):
|
|
98 |
|
99 |
gr = gradio.Interface(
|
100 |
processAndGetMask,
|
101 |
-
[gradio.Image(), gradio.Text()],
|
102 |
gradio.Image(type="pil")
|
103 |
)
|
104 |
gr.launch(share=True)
|
|
|
98 |
|
99 |
gr = gradio.Interface(
|
100 |
processAndGetMask,
|
101 |
+
[gradio.Image(type="url"), gradio.Text()],
|
102 |
gradio.Image(type="pil")
|
103 |
)
|
104 |
gr.launch(share=True)
|