Update app.py
#1
by beshaksha - opened
26 unmodified lines2728293031323326 unmodified linespipe = QwenImage21Pipeline.from_pretrained(MODEL_ID, torch_dtype=torch.bfloat16)pipe.load_lora_weights(LORA_REPO, weight_name=LORA_WEIGHT)pipe.to("cuda")pipe.vae.enable_tiling(tile_sample_min_height=1024,tile_sample_min_width=1024,26 unmodified lines272829303132333426 unmodified linespipe = QwenImage21Pipeline.from_pretrained(MODEL_ID, torch_dtype=torch.bfloat16)pipe.load_lora_weights(LORA_REPO, weight_name=LORA_WEIGHT)("pipe.enable_model_cpu_offload())pipe.vae.enable_tiling(tile_sample_min_height=1024,tile_sample_min_width=1024,
app.py+2-1