Spaces:
Running
Running
Commit
·
ba7a3db
1
Parent(s):
ea1b581
Updated app.
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ example_list = []
|
|
61 |
if os.path.exists(folder_path) and os.path.isdir(folder_path):
|
62 |
file_paths = [os.path.join(folder_path, file_name) for file_name in os.listdir(folder_path)]
|
63 |
for file_path in file_paths:
|
64 |
-
example_list.append(file_path)
|
65 |
|
66 |
def predict(my_image):
|
67 |
image = Image.fromarray(my_image.astype('uint8'))
|
|
|
61 |
if os.path.exists(folder_path) and os.path.isdir(folder_path):
|
62 |
file_paths = [os.path.join(folder_path, file_name) for file_name in os.listdir(folder_path)]
|
63 |
for file_path in file_paths:
|
64 |
+
example_list.append([file_path])
|
65 |
|
66 |
def predict(my_image):
|
67 |
image = Image.fromarray(my_image.astype('uint8'))
|