Update README.md
This commit is contained in:
parent
eb77e2b27c
commit
f1cf278d19
22
README.md
22
README.md
@ -96,3 +96,25 @@ iopaint run --model=lama --device=cpu \
|
||||
When `--mask` is a path to a mask file, all images will be processed using this mask.
|
||||
|
||||
You can see more information about the available models and plugins supported by IOPaint below.
|
||||
|
||||
## Development
|
||||
|
||||
Install [nodejs](https://nodejs.org/en), then install the front-end dependencies.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/Sanster/IOPaint.git
|
||||
cd IOPaint/web_app
|
||||
npm install
|
||||
```
|
||||
|
||||
Start front-end development environment
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Start back-end service
|
||||
```bash
|
||||
python3 main.py --model lama
|
||||
```
|
||||
|
||||
Then you can visit `http://localhost:5173/` for development. The front-end code will automatically update after being modified, but the back-end needs to restart the service after modifying the python code.
|
||||
|
Loading…
Reference in New Issue
Block a user