Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def predict(img) -> Tuple[Dict, float]:
|
|
| 46 |
return pred_dict, pred_time
|
| 47 |
|
| 48 |
|
| 49 |
-
example_paths = list(pathlib.Path('examples').glob("
|
| 50 |
example_list = [[str(filepath)] for filepath in random.sample(example_paths, k=5)]
|
| 51 |
|
| 52 |
|
|
|
|
| 46 |
return pred_dict, pred_time
|
| 47 |
|
| 48 |
|
| 49 |
+
example_paths = list(pathlib.Path('examples').glob("*/*.jpg"))
|
| 50 |
example_list = [[str(filepath)] for filepath in random.sample(example_paths, k=5)]
|
| 51 |
|
| 52 |
|