镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 22:46:48 +00:00
29 行
336 B
Markdown
29 行
336 B
Markdown
# Running with fastapi
|
|
|
|
We currently support fastapi in order to solve sub-path deploy issue.
|
|
|
|
1. checkout to `subpath` branch
|
|
|
|
``` sh
|
|
git checkout subpath
|
|
```
|
|
|
|
|
|
2. merge lastest features (optional)
|
|
|
|
``` sh
|
|
git merge master
|
|
```
|
|
|
|
3. change CUSTOM_PATH setting in `config.py`
|
|
|
|
``` sh
|
|
nano config.py
|
|
```
|
|
|
|
4. Go!
|
|
|
|
``` sh
|
|
python main.py
|
|
```
|