PSNbst commited on
Commit
93bbea8
·
verified ·
1 Parent(s): 9180f04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def generate_prompt(
100
  characters = get_random_items(load_candidates_from_files(character_files) if character_files else [], 1)
101
  dtr_candidates = get_random_items(load_dtr_from_huggingface() if dtr_enabled else [], 1)
102
 
103
- number_of_characters = ", ".join(selected_categories) if selected_categories else [])
104
 
105
  tags = {
106
  "number_of_characters": number_of_characters,
 
100
  characters = get_random_items(load_candidates_from_files(character_files) if character_files else [], 1)
101
  dtr_candidates = get_random_items(load_dtr_from_huggingface() if dtr_enabled else [], 1)
102
 
103
+ number_of_characters = ", ".join(selected_categories) if selected_categories else []
104
 
105
  tags = {
106
  "number_of_characters": number_of_characters,