This commit is contained in:
AUTOMATIC1111 2024-01-01 15:00:39 +03:00
parent 45b7bba3d0
commit d8126be578
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import sys
import gradio as gr
from modules.paths import data_path
from modules import shared, ui_tempdir, script_callbacks, processing, infotext_versions, errors
from modules import shared, ui_tempdir, script_callbacks, processing, infotext_versions
from PIL import Image
sys.modules['modules.generation_parameters_copypaste'] = sys.modules[__name__] # alias for old name

View File

@ -17,7 +17,7 @@ def parse_version(text):
try:
return version.parse(text)
except Exception as e:
except Exception:
return None

View File

@ -2,7 +2,7 @@ import os
from PIL import Image
from modules import shared, images, devices, scripts, scripts_postprocessing, ui_common, infotext
from modules import shared, images, devices, scripts, scripts_postprocessing, ui_common
from modules.shared import opts