Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ os.environ["HF_HOME"] = cache_path
|
|
28 |
|
29 |
torch.backends.cuda.matmul.allow_tf32 = True
|
30 |
|
31 |
-
pipe = FluxPipeline.from_pretrained("AlekseyCalvin/HSTcolor_FlexSoonr", ignore_mismatched_sizes=True, torch_dtype=torch.bfloat16)
|
32 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
33 |
|
34 |
model_id = ("zer0int/LongCLIP-GmP-ViT-L-14")
|
|
|
28 |
|
29 |
torch.backends.cuda.matmul.allow_tf32 = True
|
30 |
|
31 |
+
pipe = FluxPipeline.from_pretrained("AlekseyCalvin/HSTcolor_FlexSoonr", device_map=None, ignore_mismatched_sizes=True, torch_dtype=torch.bfloat16)
|
32 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
33 |
|
34 |
model_id = ("zer0int/LongCLIP-GmP-ViT-L-14")
|