tori29umai commited on
Commit
6787f63
1 Parent(s): 3ba7a3a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def predict(input_image_path, prompt, negative_prompt, controlnet_scale):
54
  pipe = load_model(lora_dir, cn_dir)
55
  line_image =make_line(input_image_path, 1.4, 0.98)
56
  base_size = line_image.size
57
- resize_image = resize_image_aspect_ratio(resize_image)
58
  generator = torch.manual_seed(0)
59
  last_time = time.time()
60
  prompt = "masterpiece, best quality, monochrome, lineart, white background, " + prompt
 
54
  pipe = load_model(lora_dir, cn_dir)
55
  line_image =make_line(input_image_path, 1.4, 0.98)
56
  base_size = line_image.size
57
+ resize_image = resize_image_aspect_ratio(line_image)
58
  generator = torch.manual_seed(0)
59
  last_time = time.time()
60
  prompt = "masterpiece, best quality, monochrome, lineart, white background, " + prompt