Skip to content

Commit

Permalink
Add tiktoken_ext hiddenimports for pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiliin committed Oct 20, 2023
1 parent 5493c78 commit 4fe0134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ for pkg in ["docs.waifu_plugin", "gradio", "gradio_client", "request_llm", "them


datas += [("docs/logo.ico", "docs"), ("docs/logo.png", "docs")]
hiddenimports += ['tiktoken_ext.openai_public', 'tiktoken_ext']


a = Analysis(
Expand Down

0 comments on commit 4fe0134

Please sign in to comment.