Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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 |
|