docker-faster-whisper icon indicating copy to clipboard operation
docker-faster-whisper copied to clipboard

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

Open syzby opened this issue 11 months ago • 6 comments

Is there an existing issue for this?

  • [X] 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.

syzby avatar Jan 08 '25 15:01 syzby

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

github-actions[bot] avatar Jan 08 '25 15:01 github-actions[bot]

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

khannover avatar Jan 30 '25 22:01 khannover

same here

isaacwein avatar Feb 03 '25 21:02 isaacwein

@isaacwein @khannover @syzby They are no API, you have to use the wyoming protocol to communicate with the service.

mg-dev25 avatar Feb 27 '25 15:02 mg-dev25

There is no guidance or pointers on how to use this Docker container. There should be at least an elaboration about the wyoming protocol if this should be used.

SvenBayer avatar Mar 02 '25 16:03 SvenBayer

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Apr 02 '25 10:04 LinuxServer-CI

This issue is locked due to inactivity

LinuxServer-CI avatar Jul 01 '25 11:07 LinuxServer-CI