Skip to content

Conversation

@aleksanderandrzejewski
Copy link
Contributor

  • The code comes from examples/main
  • The output mimetype is set to text/vtt

Test:

aa@Aleksanders-MacBook-Air whisper.cpp_aa % curl 127.0.0.1:8080/inference \
-H "Content-Type: multipart/form-data" \
-F file="@samples/jfk.wav" \
-F temperature="0.2" \
-F response-format="vtt"
WEBVTT

00:00:00.000 --> 00:00:07.600
 And so my fellow Americans, ask not what your country can do for you,

00:00:07.600 --> 00:00:10.600
 ask what you can do for your country.

- The code comes from examples/main
- The output mimetype is set to text/vtt

Example usage:
```shell
curl 127.0.0.1:8080/inference \
-H "Content-Type: multipart/form-data" \
-F file="@samples/jfk.wav" \
-F temperature="0.2" \
-F response-format="vtt"
```
@bobqianic bobqianic merged commit a0ec3fa into ggml-org:master Nov 30, 2023
@aleksanderandrzejewski aleksanderandrzejewski deleted the server-vtt branch December 1, 2023 07:42
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
- The code comes from examples/main
- The output mimetype is set to text/vtt

Example usage:
```shell
curl 127.0.0.1:8080/inference \
-H "Content-Type: multipart/form-data" \
-F file="@samples/jfk.wav" \
-F temperature="0.2" \
-F response-format="vtt"
```
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
- The code comes from examples/main
- The output mimetype is set to text/vtt

Example usage:
```shell
curl 127.0.0.1:8080/inference \
-H "Content-Type: multipart/form-data" \
-F file="@samples/jfk.wav" \
-F temperature="0.2" \
-F response-format="vtt"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants