GloVe_DIR = "D:\\glove\\"
GloVe_file = "glove.6B.100d.txt"
GloVe = Path(GloVe_DIR+GloVe_file)
if not GloVe.is_file():
print("Could not find %s Set GloVe Directory in Global.py ",GloVe)
exit()
After Change
GloVe_DIR = GloVe.download_and_extract()
GloVe_file = "glove.6B.100d.txt"
GloVe_DIR = os.path.join(GloVe_DIR, GloVe_file)
if not os.path.isfile(GloVe_DIR):
print("Could not find %s Set GloVe Directory in Global.py ",GloVe)