Spaces:
Runtime error
Runtime error
yjernite
commited on
Commit
•
a5673bb
1
Parent(s):
ff86afd
typo
Browse files
app.py
CHANGED
@@ -329,24 +329,24 @@ with gr.Blocks() as demo:
|
|
329 |
[
|
330 |
(Image.open(os.path.join(impath, im)), name)
|
331 |
for im, name in [
|
332 |
-
("social_assistant_0_of_24.png", "Generated images of 'social assistant' assigned to cluster 0 of 24"),
|
333 |
("social_assistant_2_of_24.png", "Generated images of 'social assistant' assigned to cluster 2 of 24"),
|
334 |
("social_assistant_5_of_24.png", "Generated images of 'social assistant' assigned to cluster 5 of 24"),
|
|
|
|
|
335 |
("social_assistant_0_of_24.png", "Generated images of 'social assistant' assigned to cluster 0 of 24"),
|
336 |
-
("social_assistant_0_of_24.png", "Generated images of 'social assistant' assigned to cluster 0 of 24"),
|
337 |
-
("social_worker_0_of_24.png", "Generated images of 'social worker' assigned to cluster 0 of 24"),
|
338 |
("social_worker_2_of_24.png", "Generated images of 'social worker' assigned to cluster 2 of 24"),
|
339 |
("social_worker_5_of_24.png", "Generated images of 'social worker' assigned to cluster 5 of 24"),
|
|
|
|
|
340 |
("social_worker_0_of_24.png", "Generated images of 'social worker' assigned to cluster 0 of 24"),
|
341 |
-
("social_worker_0_of_24.png", "Generated images of 'social worker' assigned to cluster 0 of 24"),
|
342 |
-
("psychologist_0_of_24.png", "Generated images of 'psychologists' assigned to cluster 0 of 24"),
|
343 |
("psychologist_2_of_24.png", "Generated images of 'psychologists' assigned to cluster 2 of 24"),
|
344 |
("psychologist_5_of_24.png", "Generated images of 'psychologists' assigned to cluster 5 of 24"),
|
345 |
-
("
|
|
|
346 |
("psychologist_0_of_24.png", "Generated images of 'psychologists' assigned to cluster 0 of 24"),
|
347 |
]
|
348 |
],
|
349 |
-
label="Example images generated by three text-to-image models (Dall-E 2, Stable Diffusion v1.4 and v.2)
|
350 |
show_label=False,
|
351 |
).style(grid=[3, 5], height="auto")
|
352 |
with gr.Column():
|
|
|
329 |
[
|
330 |
(Image.open(os.path.join(impath, im)), name)
|
331 |
for im, name in [
|
|
|
332 |
("social_assistant_2_of_24.png", "Generated images of 'social assistant' assigned to cluster 2 of 24"),
|
333 |
("social_assistant_5_of_24.png", "Generated images of 'social assistant' assigned to cluster 5 of 24"),
|
334 |
+
("social_assistant_15_of_24.png", "Generated images of 'social assistant' assigned to cluster 15 of 24"),
|
335 |
+
("social_assistant_19_of_24.png", "Generated images of 'social assistant' assigned to cluster 19 of 24"),
|
336 |
("social_assistant_0_of_24.png", "Generated images of 'social assistant' assigned to cluster 0 of 24"),
|
|
|
|
|
337 |
("social_worker_2_of_24.png", "Generated images of 'social worker' assigned to cluster 2 of 24"),
|
338 |
("social_worker_5_of_24.png", "Generated images of 'social worker' assigned to cluster 5 of 24"),
|
339 |
+
("social_worker_15_of_24.png", "Generated images of 'social worker' assigned to cluster 15 of 24"),
|
340 |
+
("social_worker_19_of_24.png", "Generated images of 'social worker' assigned to cluster 19 of 24"),
|
341 |
("social_worker_0_of_24.png", "Generated images of 'social worker' assigned to cluster 0 of 24"),
|
|
|
|
|
342 |
("psychologist_2_of_24.png", "Generated images of 'psychologists' assigned to cluster 2 of 24"),
|
343 |
("psychologist_5_of_24.png", "Generated images of 'psychologists' assigned to cluster 5 of 24"),
|
344 |
+
("psychologist_15_of_24.png", "Generated images of 'psychologists' assigned to cluster 15 of 24"),
|
345 |
+
("psychologist_19_of_24.png", "Generated images of 'psychologists' assigned to cluster 19 of 24"),
|
346 |
("psychologist_0_of_24.png", "Generated images of 'psychologists' assigned to cluster 0 of 24"),
|
347 |
]
|
348 |
],
|
349 |
+
label="Example images generated by three text-to-image models (Dall-E 2, Stable Diffusion v1.4 and v.2)",
|
350 |
show_label=False,
|
351 |
).style(grid=[3, 5], height="auto")
|
352 |
with gr.Column():
|