Skip to content

Commit

Permalink
更新fastapi_example打包命令
Browse files Browse the repository at this point in the history
  • Loading branch information
smallevilbeast committed Sep 7, 2022
1 parent da213b0 commit b09ce23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,8 @@ pyinstaller -F --collect-data=ntchat main.py
```bash
pyinstaller -y --collect-data=ntchat main.py
```

打包fastapi_example示例,需要添加`--paths=. --collect-data=ntchat`
```bash
pyinstaller -F --paths=. --collect-data=ntchat main.py
```

0 comments on commit b09ce23

Please sign in to comment.