Yaron Koresh commited on
Commit
3b9b72f
·
verified ·
1 Parent(s): 353e7c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -18,8 +18,6 @@ from diffusers.pipelines.flux import FluxPipeline
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
  dtype = torch.float16
20
  pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, token=os.getenv("hf_token")).to(device)
21
- pipe.enable_vae_slicing()
22
- pipe.enable_vae_tiling()
23
 
24
  def translate(text,lang):
25
 
 
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
  dtype = torch.float16
20
  pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, token=os.getenv("hf_token")).to(device)
 
 
21
 
22
  def translate(text,lang):
23