Spaces:
Runtime error
Runtime error
Added first_refinement_step to examples
Browse files
app.py
CHANGED
@@ -401,31 +401,31 @@ def main():
|
|
401 |
examples=[
|
402 |
[
|
403 |
PROMPT1, "2,3;6,7", "1,4,5,8,9", "10",
|
404 |
-
15, 10, 3, 1, 1,
|
405 |
7.5, 1, 5, 0.2, 8,
|
406 |
12,
|
407 |
],
|
408 |
[
|
409 |
PROMPT2, "7,8,17;11,12,17;15,16,17", "5,6,9,10,13,14,18,19", "21",
|
410 |
-
25, 18, 3, 1, 1,
|
411 |
7.5, 1, 5, 0.2, 8,
|
412 |
286,
|
413 |
],
|
414 |
[
|
415 |
PROMPT3, "7;10;13,14;17", "5,6,8,9,11,12,15,16", "17",
|
416 |
-
18, 12, 3, 1, 1,
|
417 |
7.5, 1, 5, 0.2, 8,
|
418 |
216,
|
419 |
],
|
420 |
[
|
421 |
PROMPT4, "9,10;13,14;17", "1,4,5,7,8,11,12,15,16", "17",
|
422 |
-
25, 18, 3, 1, 1,
|
423 |
7.5, 1, 5, 0.2, 8,
|
424 |
82,
|
425 |
],
|
426 |
[
|
427 |
PROMPT5, "2,3;6,7;10,11;14,15;18,19", "1,4,5,8,9,12,13,16,17,20,21", "22",
|
428 |
-
18, 12, 3, 1, 1,
|
429 |
7.5, 1, 5, 0.2, 8,
|
430 |
152,
|
431 |
],
|
@@ -433,7 +433,7 @@ def main():
|
|
433 |
fn=build_example_layout,
|
434 |
inputs=[
|
435 |
prompt, subject_token_indices, filter_token_indices, num_tokens,
|
436 |
-
init_step_size, final_step_size, num_clusters_per_subject, cross_loss_scale, self_loss_scale,
|
437 |
classifier_free_guidance_scale, batch_size, num_iterations, loss_threshold, num_guidance_steps,
|
438 |
seed,
|
439 |
],
|
|
|
401 |
examples=[
|
402 |
[
|
403 |
PROMPT1, "2,3;6,7", "1,4,5,8,9", "10",
|
404 |
+
15, 10, 15, 3, 1, 1,
|
405 |
7.5, 1, 5, 0.2, 8,
|
406 |
12,
|
407 |
],
|
408 |
[
|
409 |
PROMPT2, "7,8,17;11,12,17;15,16,17", "5,6,9,10,13,14,18,19", "21",
|
410 |
+
25, 18, 15, 3, 1, 1,
|
411 |
7.5, 1, 5, 0.2, 8,
|
412 |
286,
|
413 |
],
|
414 |
[
|
415 |
PROMPT3, "7;10;13,14;17", "5,6,8,9,11,12,15,16", "17",
|
416 |
+
18, 12, 15, 3, 1, 1,
|
417 |
7.5, 1, 5, 0.2, 8,
|
418 |
216,
|
419 |
],
|
420 |
[
|
421 |
PROMPT4, "9,10;13,14;17", "1,4,5,7,8,11,12,15,16", "17",
|
422 |
+
25, 18, 15, 3, 1, 1,
|
423 |
7.5, 1, 5, 0.2, 8,
|
424 |
82,
|
425 |
],
|
426 |
[
|
427 |
PROMPT5, "2,3;6,7;10,11;14,15;18,19", "1,4,5,8,9,12,13,16,17,20,21", "22",
|
428 |
+
18, 12, 15, 3, 1, 1,
|
429 |
7.5, 1, 5, 0.2, 8,
|
430 |
152,
|
431 |
],
|
|
|
433 |
fn=build_example_layout,
|
434 |
inputs=[
|
435 |
prompt, subject_token_indices, filter_token_indices, num_tokens,
|
436 |
+
init_step_size, final_step_size, first_refinement_step, num_clusters_per_subject, cross_loss_scale, self_loss_scale,
|
437 |
classifier_free_guidance_scale, batch_size, num_iterations, loss_threshold, num_guidance_steps,
|
438 |
seed,
|
439 |
],
|