Spaces:
Paused
Paused
Claude commited on
Commit ·
44557cf
1
Parent(s): e02e2ce
fix: disable enhance_prompt by default to prevent dark/garbage output
Browse filesGemma prompt enhancement causes token overflow (1087 > 1024) which
corrupts the prompt to garbage like '/imagine synchronized lipsync.'
This produces dark/nonsensical video output.
Disable by default; users can still enable it manually in Advanced Settings.
app.py
CHANGED
|
@@ -924,7 +924,7 @@ def generate_video(
|
|
| 924 |
prompt: str = "",
|
| 925 |
duration: float = 3,
|
| 926 |
conditioning_strength: float = 0.85,
|
| 927 |
-
enhance_prompt: bool =
|
| 928 |
use_video_audio: bool = True,
|
| 929 |
seed: int = 42,
|
| 930 |
randomize_seed: bool = True,
|
|
@@ -1198,7 +1198,7 @@ with gr.Blocks(title="LTX 2.3 Sync", css=css, theme=purple_citrus) as demo:
|
|
| 1198 |
)
|
| 1199 |
|
| 1200 |
with gr.Accordion("Advanced Settings", open=False):
|
| 1201 |
-
enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=
|
| 1202 |
conditioning_strength = gr.Slider(
|
| 1203 |
label="V2V Conditioning Strength",
|
| 1204 |
info="How closely to follow the reference video's structure",
|
|
|
|
| 924 |
prompt: str = "",
|
| 925 |
duration: float = 3,
|
| 926 |
conditioning_strength: float = 0.85,
|
| 927 |
+
enhance_prompt: bool = False,
|
| 928 |
use_video_audio: bool = True,
|
| 929 |
seed: int = 42,
|
| 930 |
randomize_seed: bool = True,
|
|
|
|
| 1198 |
)
|
| 1199 |
|
| 1200 |
with gr.Accordion("Advanced Settings", open=False):
|
| 1201 |
+
enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=False)
|
| 1202 |
conditioning_strength = gr.Slider(
|
| 1203 |
label="V2V Conditioning Strength",
|
| 1204 |
info="How closely to follow the reference video's structure",
|