InvokeAI/ldm/invoke/config
Lincoln Stein 7fa3a499bb fix crash on Windows10 when configure script given no HF token
Crashes would occur in the invokeai-configure script if no HF token
was found in cache and the user declines to provide one when prompted.
The reason appears to be that on Linux systems getpass_asterisk()
raises an EOFError when no input is provided

On windows10, getpass_asterisk() does not raise the EOFError, but
returns an empty string instead. This patch detects this and raises
the exception so that the control logic is preserved.
2023-02-03 16:06:49 -05:00
..
__init__.py (config) move configure_invokeai script to the config module for easier importing 2023-01-28 17:39:32 -05:00
configure_invokeai.py fix crash on Windows10 when configure script given no HF token 2023-02-03 16:06:49 -05:00