JunchuanYu commited on
Commit
38cd26c
·
1 Parent(s): b659f79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -72,13 +72,7 @@ with gr.Blocks() as demo:
72
 
73
  segment_image_button = gr.Button("Segment")
74
  segment_image_button.click(segment_image, inputs=[image], outputs=image_output)
75
- gr.Examples(
76
- [
77
- # glob.glob('./images/*')
78
- './images/test (1).jpg'
79
- ],
80
- image,
81
- image_output,
82
- segment_image)
83
 
84
  demo.launch()
 
72
 
73
  segment_image_button = gr.Button("Segment")
74
  segment_image_button.click(segment_image, inputs=[image], outputs=image_output)
75
+ gr.Examples(glob.glob('./images/*'),image,image_output,segment_image)
76
+
 
 
 
 
 
 
77
 
78
  demo.launch()