workaround webui update, #85
parent
6de0af30b0
commit
58c374c61b
|
|
@ -1,5 +1,6 @@
|
|||
import gradio as gr
|
||||
import csv
|
||||
import importlib
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
|
|
@ -32,6 +33,10 @@ except ImportError:
|
|||
print("Image Browser: send2trash is not installed. recycle bin cannot be used.")
|
||||
send2trash_installed = False
|
||||
|
||||
# Force reload wib_db, as it doesn't get reloaded otherwise, if an extension update is started from webui
|
||||
importlib.reload(wib_db)
|
||||
|
||||
|
||||
yappi_do = False
|
||||
favorite_tab_name = "Favorites"
|
||||
default_tab_options = ["txt2img", "img2img", "txt2img-grids", "img2img-grids", "Extras", favorite_tab_name, "Others"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue