2024-05-14 06:38:48 +00:00

5 lines
146 B
Python

import os
script_dir = os.path.dirname(os.path.realpath(__file__))
os.environ["TIKTOKEN_CACHE_DIR"] = os.path.join(script_dir, "tiktoken_cache")