Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files15 unmodified lines1617181920212220 unmodified lines4344454647484915 unmodified linespipe = QwenImagePipeline.from_pretrained(torch_dtype=torch.bfloat16,device="cuda",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)dtype = torch.bfloat16device = "cuda" if torch.cuda.is_available() else "cpu"15 unmodified lines1617181920212220 unmodified lines4344454647484915 unmodified linespipe = QwenImagePipeline.from_pretrained(torch_dtype=torch.bfloat16,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