added "." directory to sys path to prevent ModuleNotFound error on ldm.simplet2i that some Windows users have experienced

This commit is contained in:
Lincoln Stein 2022-08-20 19:46:54 -04:00
parent 09afcc321c
commit 1ca3dc553c

View File

@ -34,6 +34,7 @@ def main():
setup_readline()
print("* Initializing, be patient...\n")
os.path.append('.')
from pytorch_lightning import logging
from ldm.simplet2i import T2I