Skip to content

Commit 7ea7d5e

Browse files
committed
fix: 修正exe打包错误
1 parent 90641be commit 7ea7d5e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: pip install -r src/python/requirements.txt
2525

2626
- name: Build EXE
27-
run: pyinstaller --onefile --clean --noconsole --distpath dist src/python/rag.py
27+
run: pyinstaller --onefile --clean --distpath dist src/python/rag.py
2828

2929
- name: Upload EXE artifact
3030
uses: actions/upload-artifact@v4

src/python/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ fastapi
22
uvicorn
33
sentence-transformers
44
faiss-cpu
5+
colorama

0 commit comments

Comments
 (0)