nickmuchi commited on
Commit
f7dbe97
1 Parent(s): c054fd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -125,11 +125,10 @@ with demo:
125
  img_input = gr.Image(type='pil')
126
  img_output_from_upload= gr.Image(shape=(450,450))
127
 
128
- with gr.Row():
129
- paths = sorted(pathlib.Path('images').rglob('*.JPG')
130
  example_images = gr.Dataset(components=[img_input],
131
  samples=[[path.as_posix()]
132
- for path in paths])
133
 
134
  img_but = gr.Button('Detect')
135
 
 
125
  img_input = gr.Image(type='pil')
126
  img_output_from_upload= gr.Image(shape=(450,450))
127
 
128
+ with gr.Row():
 
129
  example_images = gr.Dataset(components=[img_input],
130
  samples=[[path.as_posix()]
131
+ for path in sorted(pathlib.Path('images').rglob('*.JPG')])
132
 
133
  img_but = gr.Button('Detect')
134