MegaTronX commited on
Commit
2c447b6
·
verified ·
1 Parent(s): 3257204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ pipe = DiffusionPipeline.from_pretrained(
11
  "black-forest-labs/FLUX.1-dev",
12
  torch_dtype=torch.bfloat16
13
  ).to(device)
14
- pipe.load_lora_weights("MegaTronX/MetartLoRA", weight_name="MetartLoRA.safetensors").to(device)
15
 
16
  @spaces.GPU(duration=75)
17
  def generate_image(prompt, num_inference_steps=25, guidance_scale=7.5, seed=None):
 
11
  "black-forest-labs/FLUX.1-dev",
12
  torch_dtype=torch.bfloat16
13
  ).to(device)
14
+ pipe.load_lora_weights("MegaTronX/MetartLoRA", weight_name="MetartLoRA.safetensors")
15
 
16
  @spaces.GPU(duration=75)
17
  def generate_image(prompt, num_inference_steps=25, guidance_scale=7.5, seed=None):