Huage001 commited on
Commit
10582ba
·
verified ·
1 Parent(s): 2a8f434

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def infer_ip_adapter(model, prompt, image, scale, negative_prompt, seed, randomi
87
 
88
  generator = torch.Generator().manual_seed(seed)
89
 
90
- pipe = pipes[model + 'ip_adapter'].to(device)
91
  pipe.set_ip_adapter_scale(scale)
92
 
93
  image = pipe(
 
87
 
88
  generator = torch.Generator().manual_seed(seed)
89
 
90
+ pipe = pipes[model + '_ip_adapter'].to(device)
91
  pipe.set_ip_adapter_scale(scale)
92
 
93
  image = pipe(