candidate install scripts for testing

This commit is contained in:
Lincoln Stein
2022-11-01 13:54:42 -04:00
parent ce298d32b5
commit 408cf5e092
3 changed files with 12 additions and 7 deletions

View File

@ -104,7 +104,7 @@ this program and resume later.\n'''
#--------------------------------------------
def postscript():
print(
'''You're all set! You may now launch InvokeAI using one of these two commands:
'''\n** Model Installation Successful **\nYou're all set! You may now launch InvokeAI using one of these two commands:
Web version:
python scripts/invoke.py --web (connect to http://localhost:9090)
@ -277,6 +277,7 @@ def download_weight_datasets(models:dict, access_token:str):
if len(successful) < len(models):
print(f'\n* There were errors downloading one or more files.')
print('Please double-check your license agreements, and your access token. Type ^C to quit.\n')
hfFolder.delete_token()
return None
HfFolder.save_token(access_token)