linter
This commit is contained in:
parent
45b7bba3d0
commit
d8126be578
|
@ -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
|
||||
|
|
|
@ -17,7 +17,7 @@ def parse_version(text):
|
|||
|
||||
try:
|
||||
return version.parse(text)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue