Spaces:
Running
Running
Update guidance scale range and add technical report links in the UI
Browse files
app.py
CHANGED
@@ -340,7 +340,7 @@ def create_advanced_options():
|
|
340 |
label="4.2 Inference Steps", minimum=1, maximum=100, step=1, value=40
|
341 |
)
|
342 |
guidance_scale = gr.Slider(
|
343 |
-
label="4.3 Guidance Scale", minimum=1.0, maximum=
|
344 |
)
|
345 |
|
346 |
height_slider = gr.Slider(
|
@@ -388,6 +388,24 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
388 |
</div>
|
389 |
"""
|
390 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
with gr.Accordion(
|
392 |
" 📖 Tips for Best Results", open=False, elem_id="instructions-accordion"
|
393 |
):
|
@@ -412,7 +430,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
412 |
|
413 |
- Resolution Preset: Higher resolutions for detailed scenes, lower for faster generation and simpler scenes
|
414 |
- Seed: Save seed values to recreate specific styles or compositions you like
|
415 |
-
- Guidance Scale:
|
416 |
- Inference Steps: More steps (40+) for quality, fewer steps (20-30) for speed
|
417 |
"""
|
418 |
)
|
|
|
340 |
label="4.2 Inference Steps", minimum=1, maximum=100, step=1, value=40
|
341 |
)
|
342 |
guidance_scale = gr.Slider(
|
343 |
+
label="4.3 Guidance Scale", minimum=1.0, maximum=5.0, step=0.1, value=3.0
|
344 |
)
|
345 |
|
346 |
height_slider = gr.Slider(
|
|
|
388 |
</div>
|
389 |
"""
|
390 |
)
|
391 |
+
gr.HTML( # add technical report link
|
392 |
+
"""
|
393 |
+
<div style="display:flex;column-gap:4px;">
|
394 |
+
<a href="https://github.com/Lightricks/LTX-Video">
|
395 |
+
<img src='https://img.shields.io/badge/GitHub-Repo-blue'>
|
396 |
+
</a>
|
397 |
+
<a href="https://github.com/Lightricks/ComfyUI-LTXVideo">
|
398 |
+
<img src='https://img.shields.io/badge/GitHub-ComfyUI-blue'>
|
399 |
+
</a>
|
400 |
+
<a href="https://huggingface.co/spaces/Lightricks/LTX-Video-Playground?duplicate=true">
|
401 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-sm.svg" alt="Duplicate this Space">
|
402 |
+
</a>
|
403 |
+
<a href="https://huggingface.co/Lightricks">
|
404 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-me-on-HF-sm-dark.svg" alt="Follow me on HF">
|
405 |
+
</a>
|
406 |
+
</div>
|
407 |
+
"""
|
408 |
+
)
|
409 |
with gr.Accordion(
|
410 |
" 📖 Tips for Best Results", open=False, elem_id="instructions-accordion"
|
411 |
):
|
|
|
430 |
|
431 |
- Resolution Preset: Higher resolutions for detailed scenes, lower for faster generation and simpler scenes
|
432 |
- Seed: Save seed values to recreate specific styles or compositions you like
|
433 |
+
- Guidance Scale: 3-3.5 are the recommended values
|
434 |
- Inference Steps: More steps (40+) for quality, fewer steps (20-30) for speed
|
435 |
"""
|
436 |
)
|