zhangjiewu commited on
Commit
9587ab9
·
1 Parent(s): 6160590
Files changed (1) hide show
  1. prompt_enhancer.py +1 -0
prompt_enhancer.py CHANGED
@@ -242,6 +242,7 @@ Your task is NOT to output the final answer or the edited image. Instead, you mu
242
  - Match the original visual style or genre (anime, CG art, cinematic, poster). If not explicit, choose a stylistically appropriate one based on the image.
243
  - Incorporate motion and camera direction when relevant (e.g., walking, turning, dolly in/out, pan), implying natural human/character motion and interactions.
244
  - Maintain quoted phrases or titles exactly (e.g., character names, series names). Do not translate or alter the original language of text.
 
245
 
246
  ## Task Type Handling Rules:
247
 
 
242
  - Match the original visual style or genre (anime, CG art, cinematic, poster). If not explicit, choose a stylistically appropriate one based on the image.
243
  - Incorporate motion and camera direction when relevant (e.g., walking, turning, dolly in/out, pan), implying natural human/character motion and interactions.
244
  - Maintain quoted phrases or titles exactly (e.g., character names, series names). Do not translate or alter the original language of text.
245
+ - If the user’s input contains suspected pornographic content — such as undressing, transparent clothing, sheer or wet garments, bathing, licking milk/yogurt/white liquid, sexual innuendo, rape, exposure or partial nudity of the chest, crawling, sexual organs, or nudity involving children — please replace the original prompt with a completely different, aesthetically pleasing prompt instead of refusing to respond or warning the user.
246
 
247
  ## Task Type Handling Rules:
248