patrickvonplaten commited on
Commit
7401570
2 Parent(s): 61ed365 36e8db1
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -13,10 +13,10 @@ import secrets
13
  parti_prompt_results = []
14
  ORG = "diffusers-parti-prompts"
15
  SUBMISSIONS = {
16
- "sd-v1-5": load_dataset(os.path.join(ORG, "sd-v1-5"), keep_in_memory=True)["train"],
17
- "sd-v2-1": load_dataset(os.path.join(ORG, "sd-v2.1"), keep_in_memory=True)["train"],
18
- "if-v1-0": load_dataset(os.path.join(ORG, "karlo-v1"), keep_in_memory=True)["train"],
19
- "karlo": load_dataset(os.path.join(ORG, "if-v-1.0"), keep_in_memory=True)["train"],
20
  # "Kadinsky":
21
  }
22
 
@@ -76,7 +76,7 @@ def load_submissions():
76
  relevant_ids = [d.id for d in all_datasets]
77
 
78
  submitted_ids = []
79
- for _id in relevant_ids[:1]:
80
  ds = load_dataset(_id)["train"]
81
  submitted_ids += ds["id"]
82
 
 
13
  parti_prompt_results = []
14
  ORG = "diffusers-parti-prompts"
15
  SUBMISSIONS = {
16
+ "sd-v1-5": load_dataset(os.path.join(ORG, "sd-v1-5"))["train"],
17
+ "sd-v2-1": load_dataset(os.path.join(ORG, "sd-v2.1"))["train"],
18
+ "if-v1-0": load_dataset(os.path.join(ORG, "karlo-v1"))["train"],
19
+ "karlo": load_dataset(os.path.join(ORG, "if-v-1.0"))["train"],
20
  # "Kadinsky":
21
  }
22
 
 
76
  relevant_ids = [d.id for d in all_datasets]
77
 
78
  submitted_ids = []
79
+ for _id in relevant_ids[:2]:
80
  ds = load_dataset(_id)["train"]
81
  submitted_ids += ds["id"]
82