Skip to content

Commit

Permalink
Make chatbot work with tiktoken hidden import
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 17, 2024
1 parent 70ebdc0 commit 17e2c4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: pip install -r api/requirements.txt pyinstaller==6.6.0

- name: Build flask exe
run: pyinstaller api/app.spec
run: pyinstaller api/app.spec --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext

- name: Install dependencies
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: pip install -r api/requirements.txt pyinstaller==6.6.0

- name: Build flask exe
run: pyinstaller api/app.spec
run: pyinstaller api/app.spec --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 17e2c4e

Please sign in to comment.