linoyts HF Staff commited on
Commit
b9004b8
·
1 Parent(s): 1a4588b

Use the rc2 diffusers wheel for enhancement constants

Browse files

Same LTX-2.4 system prompts, but GEMMA4_PROMPT_ENHANCEMENT_CONFIG raises
no_repeat_ngram_size from 3 to 5. At 3 the enhancer occasionally emitted odd tokens
mid-caption (a Devanagari word, a dropped space) as it was forced off repeated n-grams.

Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -14,7 +14,10 @@ from huggingface_hub import hf_hub_download
14
  HF_TOKEN = os.environ.get("HF_TOKEN")
15
  _whl = hf_hub_download(
16
  "diffusers-internal-dev/ltx24-wheels",
17
- "canon/diffusers-0.40.0.dev0-py3-none-any.whl",
 
 
 
18
  repo_type="dataset",
19
  token=HF_TOKEN,
20
  )
 
14
  HF_TOKEN = os.environ.get("HF_TOKEN")
15
  _whl = hf_hub_download(
16
  "diffusers-internal-dev/ltx24-wheels",
17
+ # rc2 wheel (PR head): identical LTX-2.4 system prompts, but GEMMA4_PROMPT_ENHANCEMENT_CONFIG
18
+ # raises no_repeat_ngram_size 3 -> 5. At 3, long descriptive captions get pushed off common
19
+ # phrasing and occasionally emit odd tokens (observed a Devanagari word spliced mid-caption).
20
+ "rc2/diffusers-0.40.0.dev0-py3-none-any.whl",
21
  repo_type="dataset",
22
  token=HF_TOKEN,
23
  )