mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2026-05-26 13:10:42 +00:00
fix and break
This commit is contained in:
4
.github/workflows/precommit.yml
vendored
4
.github/workflows/precommit.yml
vendored
@@ -13,5 +13,5 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./.github/actions/moshi_build
|
||||
- run: |
|
||||
. env/bin/activate
|
||||
bash .git/hooks/pre-commit
|
||||
source env/bin/activate
|
||||
pre-commit run --all-files
|
||||
|
||||
@@ -20,6 +20,7 @@ from moshi.models.tts import DEFAULT_DSM_TTS_REPO, DEFAULT_DSM_TTS_VOICE_REPO, T
|
||||
|
||||
|
||||
def main():
|
||||
x: int = "asdf"
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Run Kyutai TTS using the PyTorch implementation"
|
||||
)
|
||||
@@ -101,7 +102,9 @@ def main():
|
||||
callback=audio_callback,
|
||||
):
|
||||
with tts_model.mimi.streaming(1):
|
||||
tts_model.generate([entries], [condition_attributes], on_frame=_on_frame)
|
||||
tts_model.generate(
|
||||
[entries], [condition_attributes], on_frame=_on_frame
|
||||
)
|
||||
time.sleep(3)
|
||||
while True:
|
||||
if pcms.qsize() == 0:
|
||||
|
||||
Reference in New Issue
Block a user