seawolf2357 commited on
Commit
8cf93e7
·
verified ·
1 Parent(s): 7e72e8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -51,7 +51,10 @@ class OpenAIHandler(AsyncStreamHandler):
51
  model="gpt-4o-mini-realtime-preview-2024-12-17"
52
  ) as conn:
53
  await conn.session.update(
54
- session={"turn_detection": {"type": "server_vad"}}
 
 
 
55
  )
56
  self.connection = conn
57
  async for event in self.connection:
 
51
  model="gpt-4o-mini-realtime-preview-2024-12-17"
52
  ) as conn:
53
  await conn.session.update(
54
+ session={
55
+ "turn_detection": {"type": "server_vad"},
56
+ "language": "ko"
57
+ }
58
  )
59
  self.connection = conn
60
  async for event in self.connection: