Merge branch 'main' into feature-sort-by-frequent-use
commit
95200e82e1
|
|
@ -712,7 +712,7 @@ def api_tac(_: gr.Blocks, app: FastAPI):
|
|||
global last_style_mtime
|
||||
|
||||
mtime = get_style_mtime()
|
||||
if mtime > last_style_mtime:
|
||||
if mtime is not None and mtime > last_style_mtime:
|
||||
last_style_mtime = mtime
|
||||
# Update temp file
|
||||
if shared.prompt_styles is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue