Skip to content

Commit

Permalink
add websocket client
Browse files Browse the repository at this point in the history
  • Loading branch information
dimastatz committed Mar 21, 2024
1 parent 345cb1b commit 5a0d391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/deepsignal/client/websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@


async def start_transcription():
server = "einstein-transcribe.sfproxy.einsteintest1.test1-uswest2.aws.sfdc.cl"
url = f"wss://{server}/transcribe/v1/tenant/stream?engine=aws"
server = "todo:server url"
url = f"wss://{server}/transcribe/v1/tenant/stream?engine=x"
async with websockets.connect(url) as websocket:
await asyncio.gather(capture_audio(websocket), receive_transcription(websocket))

Expand Down

0 comments on commit 5a0d391

Please sign in to comment.