ancebuc commited on
Commit
b2d05f1
1 Parent(s): 162f538

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -41,5 +41,9 @@ def segment(img, clases):
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()
 
41
 
42
  return visualize_segmentation(image, prompts, preds)
43
 
44
+ demo = gr.Interface(fn=segment,
45
+ inputs=["image", gr.Textbox(label = 'Enter classes separated by ","')],
46
+ outputs="image",
47
+ examples=['desayuno.jpg', 'cutlery, pancakes, blueberries, orange juice']
48
+ )
49
  demo.launch()