witcherderivia commited on
Commit
2623569
·
verified ·
1 Parent(s): 705e6ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,6 +13,7 @@ import os
13
  from huggingface_hub import hf_hub_download
14
 
15
 
 
16
  pipe = QwenImagePipeline.from_pretrained(
17
  torch_dtype=torch.bfloat16,
18
  device="cuda",
@@ -26,8 +27,8 @@ pipe = QwenImagePipeline.from_pretrained(
26
  download_source='huggingface',origin_file_pattern="vae/diffusion_pytorch_model.safetensors"),
27
  ],
28
  tokenizer_config=None,
29
- processor_config=ModelConfig(model_id="Qwen/Qwen-Image-Edit-2509",
30
- download_source='huggingface', origin_file_pattern="processor/"),
31
  )
32
 
33
 
 
13
  from huggingface_hub import hf_hub_download
14
 
15
 
16
+
17
  pipe = QwenImagePipeline.from_pretrained(
18
  torch_dtype=torch.bfloat16,
19
  device="cuda",
 
27
  download_source='huggingface',origin_file_pattern="vae/diffusion_pytorch_model.safetensors"),
28
  ],
29
  tokenizer_config=None,
30
+ processor_config=ModelConfig(model_id="Qwen/Qwen-Image-Edit-2509",
31
+ download_source='huggingface',origin_file_pattern="processor/"),
32
  )
33
 
34