Added some file name cases wouldn't impact it
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ with demo:
|
|
219 |
with gr.Row():
|
220 |
example_images = gr.Dataset(components=[img_input],
|
221 |
samples=[[path.as_posix()]
|
222 |
-
for path in sorted(pathlib.Path('images').rglob('*.JPG'))])
|
223 |
|
224 |
img_but = gr.Button('Detect', interactive=False)
|
225 |
|
|
|
219 |
with gr.Row():
|
220 |
example_images = gr.Dataset(components=[img_input],
|
221 |
samples=[[path.as_posix()]
|
222 |
+
for path in sorted(pathlib.Path('images').rglob('*.JPG', case_sensitive=False))])
|
223 |
|
224 |
img_but = gr.Button('Detect', interactive=False)
|
225 |
|