Alibrown commited on
Commit
4e69a41
Β·
verified Β·
1 Parent(s): 2e49e0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
15
  torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
16
 
17
  pipe = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
18
- pipe.load_lora_weights('enhanceaiteam/Flux-uncensored', weight_name='lora.safetensors')
19
  pipe = pipe.to(device)
20
 
21
  MAX_SEED = np.iinfo(np.int32).max
 
15
  torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
16
 
17
  pipe = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
18
+ pipe.load_lora_weights('enhanceaiteam/Flux-uncensored')
19
  pipe = pipe.to(device)
20
 
21
  MAX_SEED = np.iinfo(np.int32).max