Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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'
|
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
|