Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -53,8 +53,7 @@ def predict(image: PIL.Image.Image) -> np.ndarray:
|
|
53 |
return out, res
|
54 |
|
55 |
|
56 |
-
|
57 |
-
examples = [[path.as_posix()] for path in sorted(image_dir.glob("*.jpg"))]
|
58 |
|
59 |
demo = gr.Interface(
|
60 |
fn=predict,
|
|
|
53 |
return out, res
|
54 |
|
55 |
|
56 |
+
examples = sorted(pathlib.Path("images").glob("*.jpg"))
|
|
|
57 |
|
58 |
demo = gr.Interface(
|
59 |
fn=predict,
|