Futuretop commited on
Commit
e88ac1a
·
verified ·
1 Parent(s): 0649cb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ if torch.cuda.is_available():
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
 
 
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