Don't install moshi from Git
This commit is contained in:
parent
3573ee90af
commit
8e07dd55a3
2
.github/actions/moshi_build/action.yml
vendored
2
.github/actions/moshi_build/action.yml
vendored
|
|
@ -19,7 +19,7 @@ runs:
|
|||
. env/bin/activate
|
||||
python -m pip install --upgrade pip
|
||||
pip install torch==2.4.0 --index-url https://download.pytorch.org/whl/cpu
|
||||
pip install moshi==0.2.6
|
||||
pip install moshi==0.2.7
|
||||
pip install pre-commit
|
||||
- name: Setup env
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!pip install \"git+https://git@github.com/kyutai-labs/moshi#egg=moshi&subdirectory=moshi\""
|
||||
"!pip install \"moshi==0.2.7\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user