mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
correctly detect when an embedding is incompatible with the current model
- Fixed the test for token length; tested on several .pt and .bin files - Also added a __main__ entrypoint for CLI.py, to make pdb debugging a bit more convenient.
This commit is contained in:
@@ -1387,3 +1387,7 @@ def check_internet() -> bool:
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user