Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ MAX_IMAGE_SIZE = 2048
|
|
25 |
# Ensure model and scheduler are initialized in GPU-enabled function
|
26 |
if torch.cuda.is_available():
|
27 |
transformer = FluxTransformer2DModel.from_single_file(
|
28 |
-
"https://huggingface.co/nathann55/Project0_Realism_FP16/
|
29 |
torch_dtype=torch.bfloat16
|
30 |
)
|
31 |
pipe = FluxPipeline.from_pretrained(
|
|
|
25 |
# Ensure model and scheduler are initialized in GPU-enabled function
|
26 |
if torch.cuda.is_available():
|
27 |
transformer = FluxTransformer2DModel.from_single_file(
|
28 |
+
"https://huggingface.co/nathann55/Project0_Realism_FP16/blob/main/project0.safetensors",
|
29 |
torch_dtype=torch.bfloat16
|
30 |
)
|
31 |
pipe = FluxPipeline.from_pretrained(
|