mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2026-05-16 00:00:41 +00:00
Run pre-commit correctly in CI (#66)
* fix and break * Remove intentional error
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
|
||||
|
||||
@@ -101,7 +101,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