Skip to content

Commit a254587

Browse files
committed
Updated the README
1 parent 80d96d8 commit a254587

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ available at `http://localhost:8080/v1` and it generally conforms to the
3838
In order to download a model, you can use the following command (for example):
3939

4040
```bash
41-
curl -X POST -H "Content-Type: application/json" -d '{"Path" : "ggml-medium-q5_0.bin" }' localhost:8080/v1/models
41+
curl -X POST -H "Content-Type: application/json" -d '{"Path" : "ggml-medium-q5_0.bin" }' localhost:8080/v1/models\?stream=true
4242
```
4343

4444
To list the models available, you can use the following command:
@@ -56,13 +56,13 @@ curl -X DELETE localhost:8080/v1/models/ggml-medium-q5_0
5656
To transcribe a media file into it's original language, you can use the following command:
5757

5858
```bash
59-
curl -F model=ggml-medium-q5_0 -F file=@samples/jfk.wav localhost:8080/v1/audio/transcriptions
59+
curl -F model=ggml-medium-q5_0 -F file=@samples/jfk.wav localhost:8080/v1/audio/transcriptions\?stream=true
6060
```
6161

6262
To translate a media file into a different language, you can use the following command:
6363

6464
```bash
65-
curl -F model=ggml-medium-q5_0 -F file=@samples/de-podcast.wav -F language=en localhost:8080/v1/audio/transcriptions\?stream=true
65+
curl -F model=ggml-medium-q5_0 -F file=@samples/de-podcast.wav -F language=en localhost:8080/v1/audio/translations\?stream=true
6666
```
6767

6868
There's more information on the API [here](doc/API.md).

0 commit comments

Comments
 (0)