Huage001 commited on
Commit
ca9a0d6
1 Parent(s): 0a83dff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -10,7 +10,6 @@ from src.linfusion import LinFusion
10
  device = "cuda" if torch.cuda.is_available() else "cpu"
11
  all_model_id = {
12
  "DreamShaper-8": "Lykon/dreamshaper-8",
13
- "SD-v1.4": "CompVis/stable-diffusion-v1-4",
14
  "RealisticVision-v4.0": "SG161222/Realistic_Vision_V4.0_noVAE"
15
  }
16
 
@@ -89,7 +88,6 @@ def infer_ip_adapter(model, prompt, image, scale, negative_prompt, seed, randomi
89
  image = pipe(
90
  prompt = prompt,
91
  image = image.resize((width, height)),
92
- strength = strength,
93
  negative_prompt = negative_prompt,
94
  guidance_scale = guidance_scale,
95
  num_inference_steps = num_inference_steps,
 
10
  device = "cuda" if torch.cuda.is_available() else "cpu"
11
  all_model_id = {
12
  "DreamShaper-8": "Lykon/dreamshaper-8",
 
13
  "RealisticVision-v4.0": "SG161222/Realistic_Vision_V4.0_noVAE"
14
  }
15
 
 
88
  image = pipe(
89
  prompt = prompt,
90
  image = image.resize((width, height)),
 
91
  negative_prompt = negative_prompt,
92
  guidance_scale = guidance_scale,
93
  num_inference_steps = num_inference_steps,