fffiloni commited on
Commit
8d87cbf
Β·
1 Parent(s): 9b909a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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
- #for i in range(n_pairs):
30
- # print('Asking for a new pair of image [' + str(i) + '/' + str(n_pairs) + ']')
31
- # images = ask(input_im, scale, steps, seed, images)
32
- images = ask(input_im, scale, steps, seed, images)
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