Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Danand committed May 19, 2024
1 parent 131ce2b commit 9e27f64
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,32 @@ curl -X 'POST' \
-F 'modelpath={model.pth}' \
-F 'input={input audio path}'
```

### Docker Usage

Build and run via script:

```bash
./docker-run.sh
```

**Or** use manually:

1. Build:

```bash
docker build -t "rvc" .
```

2. Run:

```bash
docker run -it \
-p 8000:8000 \
-v "${PWD}/assets/weights:/weights:ro" \
-v "${PWD}/assets/indices:/indices:ro" \
-v "${PWD}/assets/audios:/audios:ro" \
"rvc"
```

Notice assumption that weights, indices and input audios are stored in `current-directory/assets`

0 comments on commit 9e27f64

Please sign in to comment.