Commit 1514add5 authored by AUTOMATIC's avatar AUTOMATIC

remove unneded imports and type signature

parent 37c59c27
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 ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment