Spaces:
Sleeping
Sleeping
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(type="
|
| 102 |
gradio.Image(type="pil")
|
| 103 |
)
|
| 104 |
gr.launch(share=True)
|
|
|
|
| 98 |
|
| 99 |
gr = gradio.Interface(
|
| 100 |
processAndGetMask,
|
| 101 |
+
[gradio.Image(type="filepath"), gradio.Text()],
|
| 102 |
gradio.Image(type="pil")
|
| 103 |
)
|
| 104 |
gr.launch(share=True)
|