Yaron Koresh commited on
Commit
85d2e36
·
verified ·
1 Parent(s): 977f01f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -27,7 +27,6 @@ base = "black-forest-labs/FLUX.1-dev"
27
  adapter = MotionAdapter().to(device, dtype)
28
  adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt), device=device))
29
  pipe = FluxPipeline.from_pretrained(base, motion_adapter=adapter, torch_dtype=dtype, token=os.getenv("hf_token")).to(device)
30
- pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing", beta_schedule="linear")
31
 
32
  def translate(text,lang):
33
 
 
27
  adapter = MotionAdapter().to(device, dtype)
28
  adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt), device=device))
29
  pipe = FluxPipeline.from_pretrained(base, motion_adapter=adapter, torch_dtype=dtype, token=os.getenv("hf_token")).to(device)
 
30
 
31
  def translate(text,lang):
32