freddyaboulton HF Staff commited on
Commit
c230aed
·
verified ·
1 Parent(s): fa0daa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -53,8 +53,7 @@ class QwenOmniHandler(AsyncStreamHandler):
53
  self,
54
  ):
55
  """Connect to realtime API. Run forever in separate thread to keep connection open."""
56
- await self.wait_for_args()
57
- voice_id = self.latest_args[1] or "Serena"
58
  print("voice_id", voice_id)
59
  async with connect(
60
  API_URL,
 
53
  self,
54
  ):
55
  """Connect to realtime API. Run forever in separate thread to keep connection open."""
56
+ voice_id = "Serena"
 
57
  print("voice_id", voice_id)
58
  async with connect(
59
  API_URL,