remove unneded imports and type signature

This commit is contained in:
AUTOMATIC 2023-04-29 09:42:42 +03:00
parent 37c59c2710
commit 1514add559

View File

@ -1,6 +1,4 @@
import os import os
import tempfile
from typing import List
from PIL import Image from PIL import Image
@ -8,7 +6,7 @@ from modules import shared, images, devices, scripts, scripts_postprocessing, ui
from modules.shared import opts 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() devices.torch_gc()
shared.state.begin() shared.state.begin()