PerryCheng614 commited on
Commit
7fb94ea
1 Parent(s): 9759803

changed websocket endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ async def process_audio_stream(audio_path, max_tokens):
21
  binary_data = base64_bytes
22
 
23
  # Connect to WebSocket
24
- async with websockets.connect('ws://localhost:8330/ws/process-audio/') as websocket:
25
  # Send base64 encoded audio data
26
  await websocket.send(binary_data)
27
 
 
21
  binary_data = base64_bytes
22
 
23
  # Connect to WebSocket
24
+ async with websockets.connect('ws://nexa-omni.nexa4ai.com/ws/process-audio/') as websocket:
25
  # Send base64 encoded audio data
26
  await websocket.send(binary_data)
27