Skip to content

Commit 49b8fd9

Browse files
committed
refactor: add cl100k_base.tiktoken tokenizer.
1 parent f457588 commit 49b8fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/maxkb/wsgi/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __call__(self, name, *args, **kwargs):
3232
builtins.__import__ = TorchBlocker()
3333

3434
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'maxkb.settings')
35-
35+
os.environ['TIKTOKEN_CACHE_DIR'] = '/opt/maxkb-app/model/tokenizer/openai-tiktoken-cl100k-base'
3636
application = get_wsgi_application()
3737

3838

0 commit comments

Comments
 (0)