Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (126 fork)auto 404
help wanted

Metriche repository

Star
 (591 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

hey, I installed rvc using pip install rvc, I also install the assets-download.sh models. and started the server using poetry run poe rvc-api. The server starts but when using the example given curl -X 'POST'
'http://127.0.0.1:8000/inference'
-H 'accept: application/json'
-H 'Content-Type: multipart/form-data'
-F 'modelpath=model.pth'
-F 'input=input.wav'
-o output.wav It return {"detail":[{"loc":["query","input_audio"],"msg":"field required","type":"value_error.missing"},{"loc":["body"],"msg":"value is not a valid path","type":"typ> and the server gives a: 127.0.0.1:52308 - "POST /inference HTTP/1.1" 422 Unprocessable Entity How is the api supposed be used correctly. Thanks

Guida contributor