Skip to content

server: a request body may be 2 GiB - #27

Open
timoncool wants to merge 1 commit into
ServeurpersoCom:masterfrom
timoncool:upstream-payload-2gib
Open

timoncool wants to merge 1 commit into
ServeurpersoCom:masterfrom
timoncool:upstream-payload-2gib

Conversation

@timoncool

Copy link
Copy Markdown

cpp-httplib refuses a request body over 100 MiB by default, so POST /transcribe or a VAE encode of a
recording longer than about four and a half minutes in 32-bit WAV was answered 413 Payload Too Large
(reported in YuE2 Studio #259). The server now accepts up to 2 GiB (an hour of 32-bit stereo at 48 kHz is
1.4 GB).

Tested in YuE2 Studio: a 126 MB WAV is accepted and transcribed into a score.

Ported onto master by hand from our fork, where it runs in YuE2 Studio 4.1.0; not built on master on our side.

cpp-httplib refuses a body over 100 MiB by default, so a recording longer
than about four and a half minutes in 32-bit WAV (POST /transcribe, a VAE
encode) was answered 413 Payload Too Large. An hour of 32-bit stereo at
48 kHz is 1.4 GB.
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.

1 participant