wei
commited on
Commit
·
d5bc4bf
1
Parent(s):
23b5d36
remove lora
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ else:
|
|
14 |
torch_dtype = torch.float32
|
15 |
|
16 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch.bfloat16)
|
17 |
-
pipe.unet.load_attn_procs("enhanceaiteam/Flux-uncensored-V2")
|
18 |
pipe = pipe.to(device)
|
19 |
|
20 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
14 |
torch_dtype = torch.float32
|
15 |
|
16 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch.bfloat16)
|
17 |
+
#pipe.unet.load_attn_procs("enhanceaiteam/Flux-uncensored-V2")
|
18 |
pipe = pipe.to(device)
|
19 |
|
20 |
MAX_SEED = np.iinfo(np.int32).max
|