Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files15 unmodified lines161718191920212220 unmodified lines434445464647484915 unmodified lines
pipe = QwenImagePipeline.from_pretrained( torch_dtype=torch.bfloat16, device="cuda", device="cpu", model_configs=[ ModelConfig(model_id="Qwen/Qwen-Image-Edit-2509", download_source='huggingface',20 unmodified linespipe.load_lora(pipe.dit, telestyle)pipe.load_lora(pipe.dit,speedup)
pipe.to("cuda")
dtype = torch.bfloat16device = "cuda" if torch.cuda.is_available() else "cpu"app.py+2-2