Spaces:
Running
on
Zero
Running
on
Zero
with torch.autocast('cuda'):
Browse files- scripts/process_utils.py +1 -1
scripts/process_utils.py
CHANGED
@@ -317,7 +317,7 @@ def process_image(input_image, mode: str, weight1: float = 0.4, weight2: float =
|
|
317 |
|
318 |
elif mode == "original":
|
319 |
with torch.autocast('cuda'):
|
320 |
-
sotai_image = generate_sotai_image(
|
321 |
|
322 |
# スケッチ画像の生成
|
323 |
input_image_np = np.array(input_image)
|
|
|
317 |
|
318 |
elif mode == "original":
|
319 |
with torch.autocast('cuda'):
|
320 |
+
sotai_image = generate_sotai_image(input_image, output_width, output_height)
|
321 |
|
322 |
# スケッチ画像の生成
|
323 |
input_image_np = np.array(input_image)
|