LPDoctor commited on
Commit
8cae60a
1 Parent(s): e59ddeb

put lora_model to last

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ MAX_IMAGE_SIZE = 2048
18
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to(device)
19
 
20
  @spaces.GPU(duration=300)
21
- def infer(prompt, lora_model="davisbro/half_illustration", seed=0, randomize_seed=True, width=1024, height=1024, guidance_scale=5.0, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
22
  global pipe
23
 
24
  # Load LoRA if specified
 
18
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to(device)
19
 
20
  @spaces.GPU(duration=300)
21
+ def infer(prompt, seed=0, randomize_seed=True, width=1024, height=1024, guidance_scale=5.0, num_inference_steps=28, lora_model="davisbro/half_illustration", progress=gr.Progress(track_tqdm=True)):
22
  global pipe
23
 
24
  # Load LoRA if specified