MegaTronX commited on
Commit
dabf553
·
verified ·
1 Parent(s): a14bc84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -10,6 +10,10 @@ LORA_MODEL = "MegaTronX/MetartLoRA" # Replace with your repo
10
  # Load base model pipeline
11
  pipe = FluxPipeline.from_pretrained(BASE_MODEL, torch_dtype=torch.float16)
12
 
 
 
 
 
13
  # Load LoRA weights
14
  pipe.unet.load_attn_procs(LORA_MODEL)
15
  pipe = pipe.to("cuda")
 
10
  # Load base model pipeline
11
  pipe = FluxPipeline.from_pretrained(BASE_MODEL, torch_dtype=torch.float16)
12
 
13
+ #pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
14
+ #pipe.load_lora_weights("MegaTronX/MetartLoRA")
15
+
16
+
17
  # Load LoRA weights
18
  pipe.unet.load_attn_procs(LORA_MODEL)
19
  pipe = pipe.to("cuda")