diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-04-29 06:42:42 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-04-29 06:42:49 +0000 |
commit | 1514add5597d3dde0360110d158da7772b054cad (patch) | |
tree | dadb563882fe143945b1d9546f5be6d0e448e4a5 /modules/postprocessing.py | |
parent | 37c59c271004fe4fd876d33a1ac9f6e194d9e008 (diff) | |
download | stable-diffusion-webui-gfx803-1514add5597d3dde0360110d158da7772b054cad.tar.gz stable-diffusion-webui-gfx803-1514add5597d3dde0360110d158da7772b054cad.tar.bz2 stable-diffusion-webui-gfx803-1514add5597d3dde0360110d158da7772b054cad.zip |
remove unneded imports and type signature
Diffstat (limited to 'modules/postprocessing.py')
-rw-r--r-- | modules/postprocessing.py | 4 |
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()
|