aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-04-29 09:42:42 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-04-29 09:42:49 +0300
commit1514add5597d3dde0360110d158da7772b054cad (patch)
treedadb563882fe143945b1d9546f5be6d0e448e4a5
parent37c59c271004fe4fd876d33a1ac9f6e194d9e008 (diff)
remove unneded imports and type signature
-rw-r--r--modules/postprocessing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/postprocessing.py b/modules/postprocessing.py
index 9cb80957..4dc1a2ab 100644
--- a/modules/postprocessing.py
+++ b/modules/postprocessing.py
@@ -1,6 +1,4 @@
import os
-import tempfile
-from typing import List
from PIL import Image
@@ -8,7 +6,7 @@ from modules import shared, images, devices, scripts, scripts_postprocessing, ui
from modules.shared import opts
-def run_postprocessing(extras_mode, image, image_folder: List[tempfile.NamedTemporaryFile], input_dir, output_dir, show_extras_results, *args, save_output: bool = True):
+def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir, show_extras_results, *args, save_output: bool = True):
devices.torch_gc()
shared.state.begin()