Fabrice-TIERCELIN commited on
Commit
b342f1b
·
verified ·
1 Parent(s): eeb4b9e
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -296,20 +296,7 @@ def generate_video_on_gpu(
296
 
297
  # --- 3. Gradio User Interface ---
298
 
299
- css = '''
300
- .fillable{max-width: 1100px !important}
301
- .dark .progress-text {color: white}
302
- #general_items{margin-top: 2em}
303
- #group_all{overflow:visible}
304
- #group_all .styler{overflow:visible}
305
- #group_tabs .tabitem{padding: 0}
306
- .tab-wrapper{margin-top: -33px;z-index: 999;position: absolute;width: 100%;background-color: var(--block-background-fill);padding: 0;}
307
- #component-9-button{width: 50%;justify-content: center}
308
- #component-11-button{width: 50%;justify-content: center}
309
- #or_item{text-align: center; padding-top: 1em; padding-bottom: 1em; font-size: 1.1em;margin-left: .5em;margin-right: .5em;width: calc(100% - 1em)}
310
- #fivesec{margin-top: 5em;margin-left: .5em;margin-right: .5em;width: calc(100% - 1em)}
311
- '''
312
- with gr.Blocks(theme=gr.themes.Citrus(), css=css) as app:
313
  gr.Markdown("# Wan 2.2 First/Last Frame Video Fast")
314
  gr.Markdown("Based on the [Wan 2.2 First/Last Frame workflow](https://www.reddit.com/r/StableDiffusion/comments/1me4306/psa_wan_22_does_first_frame_last_frame_out_of_the/), applied to 🧨 Diffusers + [lightx2v/Wan2.2-Lightning](https://huggingface.co/lightx2v/Wan2.2-Lightning) 8-step LoRA")
315
 
 
296
 
297
  # --- 3. Gradio User Interface ---
298
 
299
+ with gr.Blocks() as app:
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  gr.Markdown("# Wan 2.2 First/Last Frame Video Fast")
301
  gr.Markdown("Based on the [Wan 2.2 First/Last Frame workflow](https://www.reddit.com/r/StableDiffusion/comments/1me4306/psa_wan_22_does_first_frame_last_frame_out_of_the/), applied to 🧨 Diffusers + [lightx2v/Wan2.2-Lightning](https://huggingface.co/lightx2v/Wan2.2-Lightning) 8-step LoRA")
302