From c1b9b94143baa87bef70e633248ae8788c800580 Mon Sep 17 00:00:00 2001 From: DeepBeepMeep Date: Tue, 18 Mar 2025 08:29:55 +0100 Subject: [PATCH] Fixed Lora Download Button broke t2v --- gradio_server.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gradio_server.py b/gradio_server.py index db5cc77..7c45ccf 100644 --- a/gradio_server.py +++ b/gradio_server.py @@ -1551,14 +1551,13 @@ def create_demo(): gr.Markdown("It is not recommmended to generate a video longer than 8s (128 frames) even if there is still some VRAM left as some artifacts may appear") gr.Markdown("Please note that if your turn on compilation, the first denoising step of the first video generation will be slow due to the compilation. Therefore all your tests should be done with compilation turned off.") - if use_image2video: - with gr.Row(): - with gr.Row(scale =3): - gr.Markdown("Wan2GP's Lora Festival ! Press the following button to download i2v Remade Loras collection (and bonuses Loras). Dont't forget first to make a backup of your Loras just in case.") - with gr.Row(scale =1): - download_loras_btn = gr.Button("---> Let the Lora's Festival Start !", scale =1) - with gr.Row(): - download_status = gr.Markdown() + with gr.Row(visible= use_image2video): + with gr.Row(scale =3): + gr.Markdown("Wan2GP's Lora Festival ! Press the following button to download i2v Remade Loras collection (and bonuses Loras). Dont't forget first to make a backup of your Loras just in case.") + with gr.Row(scale =1): + download_loras_btn = gr.Button("---> Let the Lora's Festival Start !", scale =1) + with gr.Row(visible= use_image2video): + download_status = gr.Markdown() # css = """