Spaces:
Running
Running
Update app.py
Browse files
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:
|