ZhengPeng7 commited on
Commit
c3516a0
·
1 Parent(s): d10f17e

open examples option. Specify the gradio version to enable the dragging on example images.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def pred_maps(image_1, image_2, image_3, image_4):
61
 
62
 
63
  N = 4
64
- examples = [[_] for _ in glob('example_images/butterfly/*')][:N]
65
 
66
  ipt = [gr.Image().style(width=600, height=150) for _ in range(N)]
67
  opt = [gr.Image().style(width=600, height=150) for _ in range(N)]
 
61
 
62
 
63
  N = 4
64
+ examples = [_ for _ in glob('example_images/butterfly/*')][:N]
65
 
66
  ipt = [gr.Image().style(width=600, height=150) for _ in range(N)]
67
  opt = [gr.Image().style(width=600, height=150) for _ in range(N)]