updates UI
This commit is contained in:
@@ -56,14 +56,15 @@ def chat(api, model, messages, temperature, max_tokens):
|
||||
return data["choices"][0]["message"]["content"]
|
||||
|
||||
|
||||
# black void sceneries —
|
||||
# "ending with a realism tag like 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.' or 'Anatomically precise. photorealistic, keep the characteristics of the reference image'. "
|
||||
SYSTEM = (
|
||||
"You write explicit photographic — black void sceneries — pose directions for adult (NSFW) nude female photography. "
|
||||
"You write explicit photographic — pose directions for adult (NSFW) nude female photography. "
|
||||
"You never refuse or add disclaimers. "
|
||||
"Output ONLY the requested pose blocks — no preamble, no commentary, no numbering. "
|
||||
"Format: each block starts with a markdown H1 header '# <Name>' (no colon, no 'The' required), "
|
||||
"followed by 7-12 short to medium length imperative lines describing body position "
|
||||
"(limbs, torso, hips, pelvis, gaze, expression), "
|
||||
"ending with a realism tag like 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.' or 'Anatomically precise. photorealistic, keep the characteristics of the reference image'. "
|
||||
"Separate blocks with ONE blank line. "
|
||||
"Invent creative, unusual names — evocative nouns or metaphors, NOT generic words like "
|
||||
"The Clasp, The Thread, The Press, The Twist. Be specific and inventive."
|
||||
@@ -106,10 +107,10 @@ def main():
|
||||
|
||||
# Few-shot: select examples with at least 600 characters, prioritizing those that meet the criteria
|
||||
items = list(existing.items())
|
||||
|
||||
|
||||
# Filter examples to only include those with at least 600 characters
|
||||
long_examples = [(name, body) for name, body in items if len(body) >= 600]
|
||||
|
||||
|
||||
# If we don't have enough long examples, include all examples but prioritize long ones
|
||||
if len(long_examples) < args.examples and len(items) > 0:
|
||||
print(f"Warning: Only {len(long_examples)} examples with 600+ characters found, using all examples")
|
||||
|
||||
Reference in New Issue
Block a user