runtime errors now produce a stack trace

This commit is contained in:
Lincoln Stein
2022-08-24 12:57:04 -04:00
parent f55f4d7156
commit 47a5da25b7
2 changed files with 4 additions and 3 deletions

View File

@ -80,8 +80,7 @@ def main():
exit(-1)
# preload the model
if not debugging:
t2i.load_model()
t2i.load_model()
print("\n* Initialization done! Awaiting your command (-h for help, 'q' to quit, 'cd' to change output dir, 'pwd' to print output dir)...")
log_path = os.path.join(opt.outdir,'dream_log.txt')