some backwards compatibility

linter
This commit is contained in:
AUTOMATIC1111 2023-07-17 09:05:18 +03:00
parent 238adeaffb
commit 2e07a8ae6b
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
import networks
list_available_loras = networks.list_available_networks
available_loras = networks.available_networks
available_lora_aliases = networks.available_network_aliases
available_lora_hash_lookup = networks.available_network_hash_lookup
forbidden_lora_aliases = networks.forbidden_network_aliases
loaded_loras = networks.loaded_networks

View File

@ -1,4 +1,3 @@
import lyco_helpers
import network

View File

@ -6,6 +6,7 @@ from fastapi import FastAPI
import network
import networks
import lora # noqa:F401
import extra_networks_lora
import ui_extra_networks_lora
from modules import script_callbacks, ui_extra_networks, extra_networks, shared