Update app.py
Browse files7 unmodified lines891011121314157 unmodified linesdtype = torch.bfloat16device = "cuda" if torch.cuda.is_available() else "cpu"pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype)pipe.enable_model_cpu_offload()MAX_SEED = np.iinfo(np.int32).maxWIDTH = 7007 unmodified lines8910111213147 unmodified linesdtype = torch.bfloat16device = "cuda" if torch.cuda.is_available() else "cpu"pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype).to(device)MAX_SEED = np.iinfo(np.int32).maxWIDTH = 700
app.py+1-2