import sys import os sys.path.append( os.path.join(os.path.dirname(os.path.abspath(__file__)), "chat_with_pdf") )