mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-15 07:20:31 +08:00
add server_start to shared.state
This commit is contained in:
parent
69781031e7
commit
fad850fc3d
@ -168,6 +168,7 @@ class State:
|
||||
textinfo = None
|
||||
time_start = None
|
||||
need_restart = False
|
||||
server_start = None
|
||||
|
||||
def skip(self):
|
||||
self.skipped = True
|
||||
@ -241,6 +242,7 @@ class State:
|
||||
|
||||
|
||||
state = State()
|
||||
state.server_start = time.time()
|
||||
|
||||
artist_db = modules.artists.ArtistsDatabase(os.path.join(script_path, 'artists.csv'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user