nroggendorff commited on
Commit
caf9a10
1 Parent(s): ec9ed37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ from diffusers import FluxPipeline
7
  from huggingface_hub.utils import RepositoryNotFoundError
8
 
9
  pipeline = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.float16)
10
- pipeline.load_lora_weights("pepper13/fluxfw").to("cuda")
 
11
 
12
  with open("main.css", "r") as css:
13
  link = css
 
7
  from huggingface_hub.utils import RepositoryNotFoundError
8
 
9
  pipeline = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.float16)
10
+ pipeline.load_lora_weights("pepper13/fluxfw")
11
+ pipeline.to("cuda")
12
 
13
  with open("main.css", "r") as css:
14
  link = css