Tanusree88 commited on
Commit
b2e756b
·
verified ·
1 Parent(s): d9f180c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def prepare_dataset(extracted_folder):
50
  folder_path = os.path.join(neuronii_path, disease_folder)
51
 
52
  # Check if the subfolder exists
53
- if not os.path.exists(folder_path):
54
  print(f"Folder not found: {folder_path}")
55
  continue # Skip this folder if it's not foun
56
  label = {'alzheimers_dataset': 0, 'parkinsons_dataset': 1, 'MSjpg': 2}[disease_folder]
 
50
  folder_path = os.path.join(neuronii_path, disease_folder)
51
 
52
  # Check if the subfolder exists
53
+ if not os.path.exists(folder_path):
54
  print(f"Folder not found: {folder_path}")
55
  continue # Skip this folder if it's not foun
56
  label = {'alzheimers_dataset': 0, 'parkinsons_dataset': 1, 'MSjpg': 2}[disease_folder]