Update app.py
Browse files
app.py
CHANGED
@@ -26,11 +26,12 @@ def ask(input_im, scale, steps, seed, images):
|
|
26 |
def main(input_im, n_pairs, scale, steps, seed):
|
27 |
|
28 |
images = []
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
images = ask(input_im, scale, steps, seed, images)
|
|
|
34 |
|
35 |
return images
|
36 |
|
|
|
26 |
def main(input_im, n_pairs, scale, steps, seed):
|
27 |
|
28 |
images = []
|
29 |
+
for i in range(n_pairs):
|
30 |
+
print('Asking for a new pair of image [' + str(i + 1) + '/' + str(n_pairs) + ']')
|
31 |
+
seed = seed+i
|
32 |
+
images = ask(input_im, scale, steps, seed, images)
|
33 |
+
#images = ask(input_im, scale, steps, seed, images)
|
34 |
+
#images = ask(input_im, scale, steps, seed, images)
|
35 |
|
36 |
return images
|
37 |
|