Spaces:
Paused
Paused
Update app.py
Browse files37 unmodified lines383940414243414243444546326 unmodified lines373374375376376377378379183 unmodified lines56356456556656656756856937 unmodified lineswarnings.filterwarnings("ignore")IS_ZERO_GPU = bool(os.getenv("SPACES_ZERO_GPU"))
if IS_ZERO_GPU: print("Loading...") subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)# if IS_ZERO_GPU:# print("Loading...")# subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)
# --- FRAME EXTRACTION JS & LOGIC ---
326 unmodified lines inter_time = (total_out_frames * 0.02) gen_time += inter_time
return 10 + gen_time return 15 + gen_time
@spaces.GPU(duration=get_inference_duration)183 unmodified lines gr.Markdown("## WAMU V2 - Wan 2.2 I2V (14B) 🐢🐢") gr.Markdown("#### ℹ️ **A Note on Performance:** This version prioritizes a straightforward setup over maximum speed, so performance may vary.") gr.Markdown('Try the previous version: [WAMU v1](https://huggingface.co/spaces/r3gm/wan2-2-fp8da-aoti-preview2)') gr.Markdown("Run Wan 2.2 in just 4-8 steps, fp8 quantization & AoT compilation - compatible with 🧨 diffusers and ZeroGPU") gr.Markdown("Run Wan 2.2 in just 4-8 steps, fp8 quantization & AoT compilation - compatible with 🧨 diffusers and ZeroGPU.")
with gr.Row(): with gr.Column():app.py+5-5