Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ if torch.cuda.is_available():
|
|
15 |
else:
|
16 |
torch_dtype = torch.bfloat16
|
17 |
|
18 |
-
|
19 |
|
20 |
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained(model_repo_id, subfolder="scheduler", shift=5, use_fast=True)
|
21 |
|
|
|
15 |
else:
|
16 |
torch_dtype = torch.bfloat16
|
17 |
|
18 |
+
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
19 |
|
20 |
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained(model_repo_id, subfolder="scheduler", shift=5, use_fast=True)
|
21 |
|