multimodalart HF Staff commited on
Commit
2c9fa90
·
verified ·
1 Parent(s): 91678dc

UI: distilled-model note in description, remove mode/prompt info hints, duration max 8s

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -298,7 +298,9 @@ with gr.Blocks(title="LTX-2.3 Face ID 🎥🧑") as demo:
298
  gr.Markdown(
299
  "Generate identity-preserving videos using [Lightricks LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3) "
300
  "with the [BFS Best-Face-ID LoRA](https://huggingface.co/Alissonerdx/LTX-Best-Face-ID). "
301
- "Upload a clear, frontal face photo and describe the desired video action."
 
 
302
  )
303
 
304
  with gr.Row():
@@ -307,25 +309,19 @@ with gr.Blocks(title="LTX-2.3 Face ID 🎥🧑") as demo:
307
 
308
  mode = gr.Radio(
309
  label="Generation mode",
310
- info=(
311
- "Both modes keep the face consistent via the Face ID LoRA. "
312
- "Choose whether the video starts from your photo, or the whole "
313
- "scene is invented from the prompt with your face in it."
314
- ),
315
  choices=[MODE_KEEP_PHOTO, MODE_NEW_SCENE],
316
  value=MODE_KEEP_PHOTO,
317
  )
318
 
319
  prompt = gr.Textbox(
320
  label="Prompt",
321
- info="Describe the person and the action. Include identity attributes (hair color, skin tone, etc.) for best results.",
322
  value=DEFAULT_PROMPT,
323
  lines=3,
324
  placeholder="Describe the person and the desired video action...",
325
  )
326
 
327
  with gr.Row():
328
- duration = gr.Slider(label="Duration (seconds)", minimum=1.0, maximum=5.0, value=3.0, step=0.5)
329
  enhance_prompt = gr.Checkbox(
330
  label="Enhance Prompt (experimental)",
331
  value=False,
 
298
  gr.Markdown(
299
  "Generate identity-preserving videos using [Lightricks LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3) "
300
  "with the [BFS Best-Face-ID LoRA](https://huggingface.co/Alissonerdx/LTX-Best-Face-ID). "
301
+ "Upload a clear, frontal face photo and describe the desired video action.\n\n"
302
+ "> This demo uses the **distilled** model for speed. For maximum quality, run the "
303
+ "**full model** locally with the [ComfyUI BFS Nodes](https://github.com/alisson-anjos/ComfyUI-BFSNodes)."
304
  )
305
 
306
  with gr.Row():
 
309
 
310
  mode = gr.Radio(
311
  label="Generation mode",
 
 
 
 
 
312
  choices=[MODE_KEEP_PHOTO, MODE_NEW_SCENE],
313
  value=MODE_KEEP_PHOTO,
314
  )
315
 
316
  prompt = gr.Textbox(
317
  label="Prompt",
 
318
  value=DEFAULT_PROMPT,
319
  lines=3,
320
  placeholder="Describe the person and the desired video action...",
321
  )
322
 
323
  with gr.Row():
324
+ duration = gr.Slider(label="Duration (seconds)", minimum=1.0, maximum=8.0, value=3.0, step=0.5)
325
  enhance_prompt = gr.Checkbox(
326
  label="Enhance Prompt (experimental)",
327
  value=False,