WiNE-iNEFF commited on
Commit
a573473
1 Parent(s): 6d56b12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def promptgen(choice, num, artist):
24
  rand = random.randint(0, vocab)
25
  if prompt[rand-1].startswith('art by') and artists_num < artist:
26
  artists_num +=1
27
- generated.append(prompt[rand-1])
28
  elif not prompt[rand-1].startswith('art by'):
29
  generated.append(prompt[rand-1])
30
  print(' '.join(set(generated)) + '\n')
 
24
  rand = random.randint(0, vocab)
25
  if prompt[rand-1].startswith('art by') and artists_num < artist:
26
  artists_num +=1
27
+ generated.append(prompt[rand-1])
28
  elif not prompt[rand-1].startswith('art by'):
29
  generated.append(prompt[rand-1])
30
  print(' '.join(set(generated)) + '\n')