aarbelle commited on
Commit
74cdc0c
1 Parent(s): 77733ea
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ if search_domain == 'all':
22
  if class_list == []:
23
  for p in src_data[0]:
24
  cl = p.split('/')[-2]
25
- if cl not in class_list
26
  class_list.append(cl)
27
  src_nn_fit = NearestNeighbors(n_neighbors=num_results_per_domain, algorithm='auto', n_jobs=-1).fit(src_data[1])
28
  src_data_dict[d] = (src_data,src_nn_fit)
 
22
  if class_list == []:
23
  for p in src_data[0]:
24
  cl = p.split('/')[-2]
25
+ if cl not in class_list:
26
  class_list.append(cl)
27
  src_nn_fit = NearestNeighbors(n_neighbors=num_results_per_domain, algorithm='auto', n_jobs=-1).fit(src_data[1])
28
  src_data_dict[d] = (src_data,src_nn_fit)