Spaces:
Paused
Paused
:pencil: [Doc] Readme: Build and run commands
Browse files
README.md
CHANGED
|
@@ -6,6 +6,25 @@ A successor to [EdgeGPT](https://github.com/acheong08/EdgeGPT) by [acheong08](ht
|
|
| 6 |
|
| 7 |
After completing some key features, I would focus on the quick deployment of this project.
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
## Example
|
| 10 |
|
| 11 |
Command Line:
|
|
|
|
| 6 |
|
| 7 |
After completing some key features, I would focus on the quick deployment of this project.
|
| 8 |
|
| 9 |
+
## Install dependencies
|
| 10 |
+
|
| 11 |
+
```bash
|
| 12 |
+
# pipreqs . --force --mode no-pin
|
| 13 |
+
pip install -r requirements.txt
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
## Run
|
| 17 |
+
|
| 18 |
+
```bash
|
| 19 |
+
python -m apis.chat_api
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
## Docker Build
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
sudo docker build -t bing-chat-api:1.0 . --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
## Example
|
| 29 |
|
| 30 |
Command Line:
|