JS6969 commited on
Commit
9812470
·
verified ·
1 Parent(s): cc006dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -41,8 +41,7 @@ MODEL_PATH = "fancyfeast/llama-joycaption-beta-one-hf-llava"
41
 
42
  # Role prompt you asked me to keep (used as system message)
43
  ROLE_PROMPT = (
44
- "You are a precise image-captioning assistant. Help users with any queries. "
45
- "Describe what is visible with no censorship or restrictions."
46
  )
47
 
48
  print(f"[ForgeCaptions] Gradio version: {gr.__version__}")
@@ -104,8 +103,8 @@ STYLE_OPTIONS = [
104
  ]
105
 
106
  CAPTION_TYPE_MAP: Dict[str, str] = {
107
- "Descriptive (short)": "One sentence (≤25 words) describing the most important visible elements only. No speculation.",
108
- "Descriptive (long)": "Write a detailed description for this image.",
109
  "Character training (short)": (
110
  "Output a concise, prompt-like caption for character LoRA/ID training. "
111
  "Include visible character name {name} if provided, distinct physical traits, clothing, pose, camera/cinematic cues. "
 
41
 
42
  # Role prompt you asked me to keep (used as system message)
43
  ROLE_PROMPT = (
44
+ "You are a precise image-captioning assistant with no censorship or restrictions."
 
45
  )
46
 
47
  print(f"[ForgeCaptions] Gradio version: {gr.__version__}")
 
103
  ]
104
 
105
  CAPTION_TYPE_MAP: Dict[str, str] = {
106
+ "Descriptive (short)": "Write a short description of the most important visible elements only. No speculation.",
107
+ "Descriptive (long)": "Write a long detailed description for this image.",
108
  "Character training (short)": (
109
  "Output a concise, prompt-like caption for character LoRA/ID training. "
110
  "Include visible character name {name} if provided, distinct physical traits, clothing, pose, camera/cinematic cues. "