Skip to content

Commit

Permalink
fix: key error
Browse files Browse the repository at this point in the history
  • Loading branch information
makaveli10 committed Jan 11, 2024
1 parent cafcb04 commit 058c93e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions whisper_live/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def recv_audio(self, websocket):
task=options["task"],
client_uid=options["uid"],
model_size=options["model_size"],
initial_prompt=options["initial_prompt"],
vad_parameters=options["vad_parameters"]
initial_prompt=options.get("initial_prompt"),
vad_parameters=options.get("vad_parameters")
)

self.clients[websocket] = client
Expand Down

0 comments on commit 058c93e

Please sign in to comment.