Skip to content

Commit

Permalink
doc: modify run_localGPTAPI to run_localGPT_API in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwong91 committed Jun 26, 2023
1 parent 171455f commit 16aa802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ python run_localGPT.py --device_type cpu

# Run the UI

1. Start by opening up `run_localGPTAPI.py` in a code editor of your choice. If you are using gpu skip to step 3.
1. Start by opening up `run_localGPT_API.py` in a code editor of your choice. If you are using gpu skip to step 3.

2. If you are running on cpu change `DEVICE_TYPE = 'cuda'` to `DEVICE_TYPE = 'cpu'`.

Expand All @@ -121,7 +121,7 @@ python run_localGPT.py --device_type cpu
LLM = load_model(device_type=DEVICE_TYPE, model_id=model_id)
```

- If you are running gpu there should be nothing to change. Save and close `run_localGPTAPI.py`.
- If you are running gpu there should be nothing to change. Save and close `run_localGPT_API.py`.

3. Open up a terminal and activate your python environment that contains the dependencies installed from requirements.txt.

Expand Down

0 comments on commit 16aa802

Please sign in to comment.