Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] <title> 422 Unprocessable Entity whisper #192

Open
anyaschenikova opened this issue Oct 27, 2024 · 0 comments
Open

[QUESTION] <title> 422 Unprocessable Entity whisper #192

anyaschenikova opened this issue Oct 27, 2024 · 0 comments

Comments

@anyaschenikova
Copy link

Question or Issue

I installed the nexa by command from README:

CMAKE_ARGS="-DGGML_METAL=ON -DSD_METAL=ON" pip install nexaai --prefer-binary --index-url https://nexaai.github.io/nexa-sdk/whl/metal --extra-index-url https://pypi.org/simple --no-cache-dir

Then I started server:

nexa server faster-whisper-large-turbo

and it successfully run on 0.0.0.0/8000

I send post request to http://127.0.0.1:8000/v1/audio/transcriptions with body with adsolute path

{
  "file": "sounds/audio_temp.mp3"
}

And I got from request:

{
  "detail": [
    {
      "type": "missing",
      "loc": [
        "body",
        "file"
      ],
      "msg": "Field required",
      "input": null
    }
  ]
}

And from server:
127.0.0.1:53207 - "POST /v1/audio/transcriptions HTTP/1.1" 422 Unprocessable Entity

It is same if i send it to 0.0.0.0 or localhost.

OS

MacOs Sonoma

Python Version

3.10.15

Nexa SDK Version

0.0.9.0

GPU (if using one)

Apple M3

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

No branches or pull requests

1 participant