yeq6x commited on
Commit
5ee59f2
1 Parent(s): 25a5b2b
Files changed (1) hide show
  1. scripts/process_utils.py +1 -0
scripts/process_utils.py CHANGED
@@ -222,6 +222,7 @@ def generate_sotai_image(input_image: Image.Image, output_width: int, output_hei
222
  # EasyNegativeV2の内容
223
  easy_negative_v2 = "(worst quality, low quality, normal quality:1.4), lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, artist name, (bad_prompt_version2:0.8)"
224
  print(f"\ndevice: {sotai_gen_pipe.device}\n")
 
225
  output = sotai_gen_pipe(
226
  prompt,
227
  image=[input_image, input_image],
 
222
  # EasyNegativeV2の内容
223
  easy_negative_v2 = "(worst quality, low quality, normal quality:1.4), lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, artist name, (bad_prompt_version2:0.8)"
224
  print(f"\ndevice: {sotai_gen_pipe.device}\n")
225
+ sotai_gen_pipe = sotai_gen_pipe.cuda()
226
  output = sotai_gen_pipe(
227
  prompt,
228
  image=[input_image, input_image],