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

[NOBUG] How to call the API to convert voice files into text. #30

Open
1 task done
syzby opened this issue Jan 8, 2025 · 2 comments
Open
1 task done

[NOBUG] How to call the API to convert voice files into text. #30

syzby opened this issue Jan 8, 2025 · 2 comments

Comments

@syzby
Copy link

syzby commented Jan 8, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

curl http://localhost:10300/v1/audio/transcriptions -F "file=@33秒.mp3"

do not response anything.

Expected Behavior

return audio text

Steps To Reproduce

  1. docker run -d --name=faster-whisper -e PUID=1000 -e PGID=1000 -e WHISPER_MODEL=tiny-int8 -p 10300:10300 -v E:\02.docker\whisper:/config --restart unless-stopped lscr.io/linuxserver/faster-whisper:latest

  2. curl http://localhost:10300/v1/audio/transcriptions -F "file=@33秒.mp3"

Environment

- OS:Windows 11
- How docker service was installed:

CPU architecture

x86-64

Docker creation

docker run -d --name=faster-whisper  -e PUID=1000   -e PGID=1000 -e WHISPER_MODEL=tiny-int8 -p 10300:10300 -v E:\02.docker\whisper:/config   --restart unless-stopped lscr.io/linuxserver/faster-whisper:latest

Container logs

C:\Users\syzby>docker logs faster-whisper
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v2.4.0-ls62
Build-date: 2024-12-30T14:35:11+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
INFO:__main__:Ready
Connection to localhost (127.0.0.1) 10300 port [tcp/*] succeeded!
[ls.io-init] done.
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v2.4.0-ls62
Build-date: 2024-12-30T14:35:11+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
INFO:__main__:Ready
Connection to localhost (127.0.0.1) 10300 port [tcp/*] succeeded!
[ls.io-init] done.
Copy link

github-actions bot commented Jan 8, 2025

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@khannover
Copy link

Same here... running with docker compose on rpi-4 but i get no response at all, just timeouts... nothing unusual in the logs...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

2 participants