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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -51,10 +51,7 @@ class OpenAIHandler(AsyncStreamHandler):
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:
 
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: