freddyaboulton HF Staff commited on
Commit
c68eb8d
·
verified ·
1 Parent(s): 4b848ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -53,9 +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,
61
  additional_headers=headers,
 
53
  self,
54
  ):
55
  """Connect to realtime API. Run forever in separate thread to keep connection open."""
56
+ voice_id = "Serena"
 
 
57
  async with connect(
58
  API_URL,
59
  additional_headers=headers,