mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-28 02:01:45 +00:00
thread safe extra network list_items
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os.path
|
||||
import urllib.parse
|
||||
from pathlib import Path
|
||||
from threading import Lock
|
||||
|
||||
from modules import shared, ui_extra_networks_user_metadata, errors, extra_networks
|
||||
from modules.images import read_info_from_image, save_image_with_geninfo
|
||||
@@ -94,6 +95,7 @@ class ExtraNetworksPage:
|
||||
self.allow_negative_prompt = False
|
||||
self.metadata = {}
|
||||
self.items = {}
|
||||
self.thread_lock = Lock()
|
||||
|
||||
def refresh(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user