sashavor
commited on
Commit
•
ebf0660
1
Parent(s):
2f52d28
sorting
Browse files
app.py
CHANGED
@@ -24,10 +24,10 @@ prompts = pd.read_csv('shortprompts.csv')
|
|
24 |
|
25 |
seeds = [46267, 48040, 51237, 54325, 60884, 64830, 67031, 72935, 92118, 93109]
|
26 |
|
27 |
-
adjectives = prompts['Descriptive-Adj'].tolist()[:9]
|
28 |
#adjectives = ['attractive','strong']
|
29 |
adjectives.insert(0, '')
|
30 |
-
professions = [p.lower() for p in prompts['Occupation-Noun'].tolist()]
|
31 |
|
32 |
with gr.Blocks() as demo:
|
33 |
gr.Markdown("# Stable Diffusion Explorer")
|
|
|
24 |
|
25 |
seeds = [46267, 48040, 51237, 54325, 60884, 64830, 67031, 72935, 92118, 93109]
|
26 |
|
27 |
+
adjectives = sorted(prompts['Descriptive-Adj'].tolist()[:9])
|
28 |
#adjectives = ['attractive','strong']
|
29 |
adjectives.insert(0, '')
|
30 |
+
professions = sorted([p.lower() for p in prompts['Occupation-Noun'].tolist()])
|
31 |
|
32 |
with gr.Blocks() as demo:
|
33 |
gr.Markdown("# Stable Diffusion Explorer")
|