Anonymous Authors commited on
Commit
7674524
1 Parent(s): 01c612b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ ethnicity_labels = ['African-American', 'American_Indian', 'Black', 'Caucasian',
12
  models = ['DallE', 'SD_14', 'SD_2']
13
  nos = [1,2,3,4,5,6,7,8,9,10]
14
 
15
- ds = load_dataset("color-sorted")
16
 
17
  def get_nearest_64(gender, ethnicity, model, no, index):
18
  df = ds.remove_columns(["image","image_path"]).to_pandas()
 
12
  models = ['DallE', 'SD_14', 'SD_2']
13
  nos = [1,2,3,4,5,6,7,8,9,10]
14
 
15
+ ds = load_from_disk("color-sorted")
16
 
17
  def get_nearest_64(gender, ethnicity, model, no, index):
18
  df = ds.remove_columns(["image","image_path"]).to_pandas()