Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,5 +41,5 @@ def segment(img, clases):
|
|
41 |
|
42 |
return visualize_segmentation(image, prompts, preds)
|
43 |
|
44 |
-
demo = gr.Interface(fn=segment, inputs=["image","
|
45 |
demo.launch()
|
|
|
41 |
|
42 |
return visualize_segmentation(image, prompts, preds)
|
43 |
|
44 |
+
demo = gr.Interface(fn=segment, inputs=["image", gr.TextBox(label = 'Enter classes separated by ","')], outputs="image")
|
45 |
demo.launch()
|