rahul7star commited on
Commit
995c92a
·
verified ·
1 Parent(s): fabf8dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -20
app.py CHANGED
@@ -394,27 +394,24 @@ def generate_video(input_image, prompt, height, width,
394
  export_to_video(output_frames_list, video_path, fps=FIXED_FPS)
395
  return video_path, current_seed
396
 
397
- with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398
  with gr.Column(elem_classes=["main-container"]):
399
- gr.Markdown("# FusionX Enhanced Wan 2.1 I2V (14B)")
400
-
401
- # Enhanced badges for FusionX
402
- gr.HTML("""
403
- <div class="badge-container">
404
- <a href="https://huggingface.co/vrgamedevgirl84/Wan14BT2VFusioniX" target="_blank">
405
- <img src="https://img.shields.io/static/v1?label=FusionX&message=ENHANCED%20MODEL&color=%236a4c93&labelColor=%23533a7d&logo=huggingface&logoColor=%23ffffff&style=for-the-badge" alt="FusionX Enhanced">
406
- </a>
407
- <a href="https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX" target="_blank">
408
- <img src="https://img.shields.io/static/v1?label=BASE&message=WAN%202.1%20T2V-FusioniX&color=%23008080&labelColor=%23533a7d&logo=huggingface&logoColor=%23ffffff&style=for-the-badge" alt="Base Model">
409
- </a>
410
- <a href="https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX2" target="_blank">
411
- <img src="https://img.shields.io/static/v1?label=BASE&message=WAN%202.1%20T2V-Fusioni2X&color=%23008080&labelColor=%23533a7d&logo=huggingface&logoColor=%23ffffff&style=for-the-badge" alt="Base Model">
412
- </a>
413
- <a href="https://huggingface.co/spaces/Heartsync/wan2-1-fast-security" target="_blank">
414
- <img src="https://img.shields.io/static/v1?label=WAN%202.1&message=FAST%20%26%20Furios&color=%23008080&labelColor=%230000ff&logo=huggingface&logoColor=%23ffa500&style=for-the-badge" alt="badge">
415
- </a>
416
- </div>
417
- """)
418
 
419
 
420
  with gr.Row():
 
394
  export_to_video(output_frames_list, video_path, fps=FIXED_FPS)
395
  return video_path, current_seed
396
 
397
+ # --- Gradio UI ---
398
+ css="""
399
+ #title{text-align: center}
400
+ #title h1{font-size: 3em; display:inline-flex; align-items:center}
401
+ #title img{width: 100px; margin-right: 0.5em}
402
+ #col-container { margin: 0 auto; max-width: 1000px; } /* Increased max-width for gallery */
403
+ #gallery .grid-wrap{height: 20vh !important; max-height: 250px !important;}
404
+ .custom_lora_card { border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px; margin-top: 10px; background-color: #f9f9f9; }
405
+ .card_internal { display: flex; align-items: center; }
406
+ .card_internal img { margin-right: 1em; border-radius: 4px; }
407
+ .card_internal div h4 { margin-bottom: 0.2em; }
408
+ .card_internal div small { font-size: 0.9em; color: #555; }
409
+ #lora_list_link { font-size: 90%; background: var(--block-background-fill); padding: 0.5em 1em; border-radius: 8px; display:inline-block; margin-top:10px;}
410
+ """
411
+
412
+ with gr.Blocks(css=css, theme=gr.themes.Ocean(font=[gr.themes.GoogleFont("Lexend Deca"), "sans-serif"])) as demo:
413
  with gr.Column(elem_classes=["main-container"]):
414
+ gr.Markdown("# Fast 4 steps Wan 2.1 I2V (14B) with CausVid LoRA + Audio")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
 
416
 
417
  with gr.Row():