File size: 438 Bytes
f520676
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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://github.com/oobabooga/text-generation-webui/wiki/Migrating-an-old-one%E2%80%90click-install')