PSNbst commited on
Commit
c4dec75
·
verified ·
1 Parent(s): 2598d50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -192,7 +192,7 @@ def generate_transformed_output(prompt, gender_option, top_cat, sub_cat, species
192
  system_prompt = f"""
193
  You are a creative assistant that transforms the user's base prompt
194
  生成将提示词中的主体转化为{extra_line}{gender_specific_rule}的提示词,注意性别,其服装和装饰细节,皮肤和第二性征的转变,并且 Follow references below:
195
- Detailed Transform Rules (transform_rules.json):
196
  {RULES_TEXT_FULL}
197
  Instructions:
198
  - Ensure all gender-specific terms are replaced correctly based on the rules.
@@ -204,7 +204,6 @@ Instructions:
204
  3) Then 3~6 sentences of imaginative scene description in English.
205
  - No extra lines, no headings, no 'gender:' or 'base_prompt:'.
206
  - End of instructions.
207
- 随后简化并去除重复和冗余的提示词部分,随后再检查并删除和主体角色性别或种族不符合的,不融洽的提示词。
208
  """.strip()
209
 
210
  try:
 
192
  system_prompt = f"""
193
  You are a creative assistant that transforms the user's base prompt
194
  生成将提示词中的主体转化为{extra_line}{gender_specific_rule}的提示词,注意性别,其服装和装饰细节,皮肤和第二性征的转变,并且 Follow references below:
195
+ Detailed Transform Rules (transform_rules.json): 简化并去除重复和冗余的提示词部分,删除和主体角色性别或种族不符合的,不融洽的提示词。
196
  {RULES_TEXT_FULL}
197
  Instructions:
198
  - Ensure all gender-specific terms are replaced correctly based on the rules.
 
204
  3) Then 3~6 sentences of imaginative scene description in English.
205
  - No extra lines, no headings, no 'gender:' or 'base_prompt:'.
206
  - End of instructions.
 
207
  """.strip()
208
 
209
  try: