Spaces:
Running
Running
Update app.py
Browse files
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,
|