Skip to content

Commit

Permalink
Make pyinstaller work
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 17, 2024
1 parent e92ebad commit fa1b6ab
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 --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext
run: pyinstaller --name app --onefile --console api/app.py --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 --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext
run: pyinstaller --name app --onefile --console api/app.py --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit fa1b6ab

Please sign in to comment.