mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 15:48:04 +01:00
Add a warning for outdated installations
This commit is contained in:
parent
86648d4085
commit
8ab3eca9ec
8
modules/one_click_installer_check.py
Normal file
8
modules/one_click_installer_check.py
Normal file
@ -0,0 +1,8 @@
|
||||
from pathlib import Path
|
||||
from modules.logging_colors import logger
|
||||
|
||||
if Path('../webui.py').exists():
|
||||
logger.warning('\nIt looks like you are running an outdated version of '
|
||||
'the one-click-installers.\n'
|
||||
'Please migrate your installation following the instructions here:\n'
|
||||
'https://')
|
Loading…
Reference in New Issue
Block a user