Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,8 +106,8 @@ with demo:
|
|
106 |
|
107 |
with gr.Row():
|
108 |
example_images = gr.Dataset(components=[img_input],
|
109 |
-
|
110 |
-
|
111 |
|
112 |
img_but = gr.Button('Detect')
|
113 |
|
|
|
106 |
|
107 |
with gr.Row():
|
108 |
example_images = gr.Dataset(components=[img_input],
|
109 |
+
samples=[[path.as_posix()]
|
110 |
+
for path in sorted(pathlib.Path('images').rglob('*.jpeg'))])
|
111 |
|
112 |
img_but = gr.Button('Detect')
|
113 |
|