Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,8 +51,7 @@ def prepare_dataset(extracted_folder):
|
|
51 |
|
52 |
# Check if the subfolder exists
|
53 |
if not os.path.exists(folder_path):
|
54 |
-
print(f"
|
55 |
-
|
56 |
label = {'alzheimers_dataset': 0, 'parkinsons_dataset': 1, 'MSjpg': 2}[disease_folder]
|
57 |
|
58 |
for img_file in os.listdir(folder_path):
|
|
|
51 |
|
52 |
# Check if the subfolder exists
|
53 |
if not os.path.exists(folder_path):
|
54 |
+
print(f"Folder not found: {folder_path}")
|
|
|
55 |
label = {'alzheimers_dataset': 0, 'parkinsons_dataset': 1, 'MSjpg': 2}[disease_folder]
|
56 |
|
57 |
for img_file in os.listdir(folder_path):
|