mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
7fa3a499bb
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. |
||
---|---|---|
.. | ||
__init__.py | ||
configure_invokeai.py |