yasserrmd commited on
Commit
e2bd59b
·
verified ·
1 Parent(s): 9388d07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ device=torch.device('cuda')
11
  pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
12
  print(prompt)
13
 
14
- if style='shou_xin':
15
  prompt= "shou_xin, " + prompt
16
  pipe.load_lora_weights("Datou1111/shou_xin", weight_name="shou_xin.safetensors")
17
  else:
 
11
  pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
12
  print(prompt)
13
 
14
+ if style=='shou_xin':
15
  prompt= "shou_xin, " + prompt
16
  pipe.load_lora_weights("Datou1111/shou_xin", weight_name="shou_xin.safetensors")
17
  else: