Commit b51d08b1 authored by Your Name's avatar Your Name

Add --convert flag to whisper-server command for audio format conversion

parent 3ffd8f3e
......@@ -2026,6 +2026,9 @@ class WhisperServerManager:
# Add GPU device
cmd.extend(["-dev", str(gpu_device)])
# Add --convert flag to convert audio to 16kHz mono on the server side
cmd.append("--convert")
# Add host and port
cmd.extend(["--host", "127.0.0.1"])
cmd.extend(["--port", str(self.port)])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment