nickmuchi commited on
Commit
15b4ecb
·
1 Parent(s): e004ba5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -135,10 +135,10 @@ with demo:
135
 
136
  with gr.Row():
137
  example_images = gr.Dataset(components=[img_input],
138
- samples=[[path.as_posix() for path in sorted(pathlib.Path('images').rglob('*.JPG'))]
139
- for path in sorted(pathlib.Path('images').rglob('*.JPG'))])
140
 
141
- img_but = gr.Button('Detect')
142
 
143
 
144
  url_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_url,queue=True)
 
135
 
136
  with gr.Row():
137
  example_images = gr.Dataset(components=[img_input],
138
+ samples=[[path.as_posix() for path in sorted(pathlib.Path('images').rglob('*.JPG'))])
139
+
140
 
141
+ img_but = gr.Button('Detect')
142
 
143
 
144
  url_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_url,queue=True)