sasha HF staff commited on
Commit
e043325
1 Parent(s): 9f185c0

Update app.py

Browse files

adding adjectives

Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -25,7 +25,10 @@ prompts = pd.read_csv('shortprompts.csv')
25
 
26
  seeds = [46267, 48040, 51237, 54325, 60884, 64830, 67031, 72935, 92118, 93109]
27
 
28
- adjectives = sorted(prompts['Descriptive-Adj'].tolist()[:9])
 
 
 
29
  #adjectives = ['attractive','strong']
30
  adjectives.insert(0, '')
31
  professions = sorted([p.lower() for p in prompts['Occupation-Noun'].tolist()])
 
25
 
26
  seeds = [46267, 48040, 51237, 54325, 60884, 64830, 67031, 72935, 92118, 93109]
27
 
28
+
29
+ m_adjectives = prompts['Masc-adj'].tolist()[:11]
30
+ f_adjectives = prompts['Fem-adj'].tolist()[:11]
31
+ adjectives = sorted(m_adjectives+f_adjectives)
32
  #adjectives = ['attractive','strong']
33
  adjectives.insert(0, '')
34
  professions = sorted([p.lower() for p in prompts['Occupation-Noun'].tolist()])