Move the thumbnails into the existing 'media' folder; split the CSS for the thumbnails into a separate file

This commit is contained in:
cmdr2
2022-09-23 19:32:48 +05:30
parent 7617d56276
commit 5e7c376950
413 changed files with 214 additions and 218 deletions

View File

@ -10,8 +10,6 @@ print('started in ', SCRIPT_DIR)
SD_UI_DIR = os.getenv('SD_UI_PATH', None)
sys.path.append(os.path.dirname(SD_UI_DIR))
STATIC_DIR = os.path.join(SD_UI_DIR, "static")
CONFIG_DIR = os.path.join(SD_UI_DIR, '..', 'scripts')
OUTPUT_DIRNAME = "Stable Diffusion UI" # in the user's home folder
@ -221,7 +219,5 @@ class HealthCheckLogFilter(logging.Filter):
logging.getLogger('uvicorn.access').addFilter(HealthCheckLogFilter())
app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")
# start the browser ui
import webbrowser; webbrowser.open('http://localhost:9000')