mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2026-01-16 22:12:56 +00:00
Don't install moshi from Git
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# /// script
|
||||
# requires-python = ">=3.12"
|
||||
# dependencies = [
|
||||
# "moshi @ git+https://git@github.com/kyutai-labs/moshi#egg=moshi&subdirectory=moshi",
|
||||
# "moshi==0.2.7",
|
||||
# "torch",
|
||||
# "sphn",
|
||||
# "sounddevice",
|
||||
|
||||
@@ -127,6 +127,7 @@ async def websocket_client():
|
||||
async with websockets.connect(uri, additional_headers=headers) as websocket:
|
||||
await websocket.send(msgpack.packb({"type": "Text", "text": text_to_tts}))
|
||||
await websocket.send(msgpack.packb({"type": "Eos"}))
|
||||
# await websocket.send(msgpack.packb({"type": "invalidmessage"}))
|
||||
|
||||
output_queue = asyncio.Queue()
|
||||
receive_task = asyncio.create_task(receive_messages(websocket, output_queue))
|
||||
|
||||
Reference in New Issue
Block a user