Spaces:
Runtime error
Runtime error
Update generate_prompts.py
Browse files- generate_prompts.py +2 -1
generate_prompts.py
CHANGED
@@ -71,6 +71,7 @@ def generate_prompt(sentence, character_dict, selected_style):
|
|
71 |
# Retrieve the enhanced sentence associated with the original text
|
72 |
image_descriptions = process_text(sentence, character_dict)
|
73 |
# Define prompts and other parameters
|
74 |
-
prompt = f"Create
|
|
|
75 |
return prompt
|
76 |
|
|
|
71 |
# Retrieve the enhanced sentence associated with the original text
|
72 |
image_descriptions = process_text(sentence, character_dict)
|
73 |
# Define prompts and other parameters
|
74 |
+
prompt = f"Create a whimsical {selected_style} illustration ideal for a children's book page, from: {image_descriptions}."
|
75 |
+
|
76 |
return prompt
|
77 |
|