AnhP commited on
Commit
3bb0faf
·
verified ·
1 Parent(s): 204e043

Update main/inference/realtime/client.py

Browse files
Files changed (1) hide show
  1. main/inference/realtime/client.py +2 -0
main/inference/realtime/client.py CHANGED
@@ -286,6 +286,8 @@ async def record(request: Request):
286
  "path": record_audio_path
287
  }
288
 
 
 
289
  @app.websocket("/ws-audio")
290
  async def websocket_audio(ws: WebSocket):
291
  """
 
286
  "path": record_audio_path
287
  }
288
 
289
+ import spaces
290
+ @spaces.GPU
291
  @app.websocket("/ws-audio")
292
  async def websocket_audio(ws: WebSocket):
293
  """