Futuretop commited on
Commit
69afbf3
·
verified ·
1 Parent(s): c0f4255

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ pipe = DiffusionPipeline.from_pretrained(
58
  trust_remote_code=True,
59
  torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32
60
  )
61
- pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained(model_repo, subfolder="scheduler", shift=5)
62
  pipe = pipe.to(device)
63
 
64
  MAX_SEED = 2**31 - 1
 
58
  trust_remote_code=True,
59
  torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32
60
  )
61
+ pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained(model_repo, subfolder="scheduler", trust_remote_code = True, shift=5)
62
  pipe = pipe.to(device)
63
 
64
  MAX_SEED = 2**31 - 1