G7 증명과 G8 clean-head 승격 준비
This commit is contained in:
parent
94c681d450
commit
5221f79e3f
52 changed files with 6876 additions and 506 deletions
|
|
@ -36,7 +36,7 @@ from urllib.parse import parse_qs, urlsplit
|
|||
|
||||
DEFAULT_HOST = "127.0.0.1"
|
||||
DEFAULT_PORT = 9882
|
||||
DEFAULT_MODEL = "large-v3"
|
||||
DEFAULT_MODEL = "small"
|
||||
DEFAULT_LANGUAGE = "ko"
|
||||
DEFAULT_SAMPLE_RATE = 16_000
|
||||
DEFAULT_CHANNELS = 1
|
||||
|
|
@ -546,6 +546,7 @@ async def serve(args: argparse.Namespace) -> int: # pragma: no cover - I/O 진
|
|||
await send(
|
||||
{
|
||||
"type": "ready",
|
||||
"provider": "local_whisper",
|
||||
"model": transcriber.model_name,
|
||||
"device": transcriber.device,
|
||||
"compute_type": transcriber.compute_type,
|
||||
|
|
@ -579,6 +580,7 @@ async def serve(args: argparse.Namespace) -> int: # pragma: no cover - I/O 진
|
|||
json.dumps(
|
||||
{
|
||||
"ready": True,
|
||||
"provider": "local_whisper",
|
||||
"host": args.host,
|
||||
"port": args.port,
|
||||
"model": transcriber.model_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue