patrickvonplaten
commited on
Commit
•
36e8db1
1
Parent(s):
9dd610c
Update app.py
Browse files
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")
|
17 |
-
"sd-v2-1": load_dataset(os.path.join(ORG, "sd-v2.1")
|
18 |
-
"if-v1-0": load_dataset(os.path.join(ORG, "karlo-v1")
|
19 |
-
"karlo": load_dataset(os.path.join(ORG, "if-v-1.0")
|
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:
|
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 |
|